some bugfixes
This commit is contained in:
parent
7836973621
commit
aaf358dd9a
|
@ -26,6 +26,9 @@ while true; do
|
|||
if [ "$cmdonairstat" -eq 1 ]; then
|
||||
|
||||
cmdonairstat=0
|
||||
if [ "$swupstat" -eq 0 ]; then
|
||||
$(command -v pkill) "$pgrepplayer"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
@ -53,10 +56,6 @@ while true; do
|
|||
fi
|
||||
|
||||
swupstat="$($cmdgpio read $swupgpio)"
|
||||
|
||||
if [ "$swupstat" -eq 0 ]; then
|
||||
$(command -v pkill) "$pgrepplayer"
|
||||
fi
|
||||
|
||||
sleep 0.1
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue