some bugfixes
This commit is contained in:
parent
4670e6402a
commit
a920253422
1 changed files with 1 additions and 2 deletions
|
@ -34,8 +34,6 @@ while true; do
|
||||||
|
|
||||||
elif [ "$swupstat" -eq 1 ]; then
|
elif [ "$swupstat" -eq 1 ]; then
|
||||||
|
|
||||||
swupstat="$($cmdgpio read $swupgpio)"
|
|
||||||
|
|
||||||
if $(command -v pgrep) "$pgrepplayer" > /dev/null; then
|
if $(command -v pgrep) "$pgrepplayer" > /dev/null; then
|
||||||
$(command -v pkill) "$pgrepplayer"
|
$(command -v pkill) "$pgrepplayer"
|
||||||
fi
|
fi
|
||||||
|
@ -53,6 +51,7 @@ while true; do
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
swupstat="$($cmdgpio read $swupgpio)"
|
||||||
$(command -v pkill) "$pgrepplayer"
|
$(command -v pkill) "$pgrepplayer"
|
||||||
echo "Off air!"
|
echo "Off air!"
|
||||||
cmdonairstat=0
|
cmdonairstat=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue