This commit is contained in:
Martin Selbmann 2020-09-22 19:53:17 +02:00
parent a98f580f24
commit 96a3db2ab3
1 changed files with 2 additions and 3 deletions

View File

@ -53,10 +53,9 @@ while true; do
swupstat="$($cmdgpio read $swupgpio)"
while [ ! -z "$($(command -v pgrep) "$pgrepplayer")" ]; do
if $(command -v pgrep) "$pgrepplayer" > /dev/null; then
$(command -v pkill) "$pgrepplayer"
done
fi
echo "Off air!"
cmdonairstat=0