add on air switch

This commit is contained in:
Martin Selbmann 2020-09-19 20:01:41 +02:00
parent 4e42080db0
commit cedc70a8cf
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ while true; do
while [ "$swupstat" -eq 1 ]; do
echo "On air!"
swupstat="$($cmdgpio read $swupgpio)"
sleep 0.1
done