From 5adb89133f5a6e21161538fd61aa808f44acc4d7 Mon Sep 17 00:00:00 2001 From: Level2 Pidor Date: Sat, 25 Jul 2015 22:40:15 +0200 Subject: [PATCH] Also raise projection screen if the beamer is completely off --- scripts/beamerdetect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/beamerdetect.sh b/scripts/beamerdetect.sh index cb082c8..31993d0 100755 --- a/scripts/beamerdetect.sh +++ b/scripts/beamerdetect.sh @@ -4,7 +4,7 @@ then ( projip=$(arp -an|awk -F'[()]' '/00:50:41:79:d1:34/{print $2}') signalsource="$(wget -qO - 'http://'"$projip"'/tgi/return.tgi?query=info' |awk -F'[<>]' '//{print substr($3,33,2)}')" - if [ "$signalsource" = "00" ] || [ "$signalsource" = "15" ] + if [ "$signalsource" = "00" ] || [ "$signalsource" = "15" ] || [ "$signalsource" = "" ] then ssh pi@doorbuzz 'doorbuzz/projectionscreen.sh up' echo "wget http://$projip/tgi/return.tgi?command=2a3102fd0660"