Also test for None as chromecast source
parent
1a79d0c8b2
commit
fe4d415615
|
@ -79,7 +79,7 @@ do
|
||||||
# logger -t "$(basename $0) $$" "source=$signalsource cast=$(cat /var/run/caststatus)"
|
# logger -t "$(basename $0) $$" "source=$signalsource cast=$(cat /var/run/caststatus)"
|
||||||
sleep 10
|
sleep 10
|
||||||
caststatus="$(cat /var/run/caststatus)"
|
caststatus="$(cat /var/run/caststatus)"
|
||||||
if [ "$caststatus" != "Backdrop" ] &&
|
if [ "$caststatus" != "Backdrop" ] && [ "$caststatus" != "None" ] &&
|
||||||
( [ "$signalsource" = "" ] ||
|
( [ "$signalsource" = "" ] ||
|
||||||
[ "$signalsource" = "00" ] ||
|
[ "$signalsource" = "00" ] ||
|
||||||
[ "$signalsource" = "02" ] )
|
[ "$signalsource" = "02" ] )
|
||||||
|
|
Loading…
Reference in New Issue