some bugfixes

This commit is contained in:
Martin Selbmann 2020-09-22 19:42:15 +02:00
parent a920253422
commit ab1ad48e9e

View file

@ -52,7 +52,12 @@ while true; do
done done
swupstat="$($cmdgpio read $swupgpio)" swupstat="$($cmdgpio read $swupgpio)"
$(command -v pkill) "$pgrepplayer"
while $(command -v pgrep) "$pgrepplayer" > /dev/null; then
$(command -v pkill) "$pgrepplayer"
done
echo "Off air!" echo "Off air!"
cmdonairstat=0 cmdonairstat=0