add on air switch
This commit is contained in:
parent
4e42080db0
commit
cedc70a8cf
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ while true; do
|
||||||
|
|
||||||
while [ "$swupstat" -eq 1 ]; do
|
while [ "$swupstat" -eq 1 ]; do
|
||||||
echo "On air!"
|
echo "On air!"
|
||||||
|
swupstat="$($cmdgpio read $swupgpio)"
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue