'Bash/Pinger/Dual-IF-Ping.sh.example' updaten
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#Trigger form Cron
|
||||||
# Set Parameters
|
# Set Parameters
|
||||||
domoticzserverip='127.0.0.1:8080'
|
domoticzserverip='127.0.0.1:8080'
|
||||||
if1='<IP of first if>'
|
if1='<IP of first if>'
|
||||||
@@ -93,7 +94,3 @@ else
|
|||||||
curl -s "http://"$domoticzserverip"/json.htm?type=command¶m=switchlight&idx="$IDX2"&switchcmd=Off" 2>/dev/null 1>/dev/null
|
curl -s "http://"$domoticzserverip"/json.htm?type=command¶m=switchlight&idx="$IDX2"&switchcmd=Off" 2>/dev/null 1>/dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
sleep 300
|
|
||||||
done
|
|
||||||
Reference in New Issue
Block a user