Also raise projection screen if the beamer is completely off

master
Level2 Pidor 2015-07-25 22:40:15 +02:00
parent 5b949e9d82
commit 5adb89133f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ then
( (
projip=$(arp -an|awk -F'[()]' '/00:50:41:79:d1:34/{print $2}') 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'[<>]' '/<info>/{print substr($3,33,2)}')" signalsource="$(wget -qO - 'http://'"$projip"'/tgi/return.tgi?query=info' |awk -F'[<>]' '/<info>/{print substr($3,33,2)}')"
if [ "$signalsource" = "00" ] || [ "$signalsource" = "15" ] if [ "$signalsource" = "00" ] || [ "$signalsource" = "15" ] || [ "$signalsource" = "" ]
then then
ssh pi@doorbuzz 'doorbuzz/projectionscreen.sh up' ssh pi@doorbuzz 'doorbuzz/projectionscreen.sh up'
echo "wget http://$projip/tgi/return.tgi?command=2a3102fd0660" echo "wget http://$projip/tgi/return.tgi?command=2a3102fd0660"