From cedc70a8cf8489239e4b5083cc6b96a3ad414654 Mon Sep 17 00:00:00 2001 From: Martin Selbmann Date: Sat, 19 Sep 2020 20:01:41 +0200 Subject: [PATCH] add on air switch --- buzzer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/buzzer.sh b/buzzer.sh index 69292df..178293c 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -30,6 +30,7 @@ while true; do while [ "$swupstat" -eq 1 ]; do echo "On air!" + swupstat="$($cmdgpio read $swupgpio)" sleep 0.1 done