foo
This commit is contained in:
parent
96a3db2ab3
commit
c8fd89367e
|
@ -42,7 +42,7 @@ while true; do
|
|||
|
||||
if [ "$cmdonairstat" -eq 0 ]; then
|
||||
echo "On air!"
|
||||
$(command -v $player) $playerparam --loop ~/RandomVideo/onair.mp4
|
||||
#$(command -v $player) $playerparam --loop ~/RandomVideo/onair.mp4
|
||||
cmdonairstat=1
|
||||
fi
|
||||
|
||||
|
@ -53,9 +53,7 @@ while true; do
|
|||
|
||||
swupstat="$($cmdgpio read $swupgpio)"
|
||||
|
||||
if $(command -v pgrep) "$pgrepplayer" > /dev/null; then
|
||||
$(command -v pkill) "$pgrepplayer"
|
||||
fi
|
||||
#$(command -v pkill) "$pgrepplayer"
|
||||
|
||||
echo "Off air!"
|
||||
cmdonairstat=0
|
||||
|
|
Loading…
Reference in New Issue