So I notice that I have a register_with_find.sh run every 5 minutes trying to reach checkip.homeseer.com:8245 and then find.homeseer.com:911.
What is this, and why is it run?
Any ideas?
What is this, and why is it run?
Any ideas?
Code:
homeseer@HomeTrollerZeeS2 /var/log $ more /usr/local/HomeSeer/register_with_find.sh #!/bin/bash host=`/bin/hostname` ip=`ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/'` wanip=`wget http://checkip.homeseer.com:8245 -q -O -` re="[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}" if [[ $wanip =~ $re ]]; then wanip=${BASH_REMATCH[0]} fi while [[ $x -le 5 ]] do x=$(( $x + 1 )) sleep 5 done url=http://find.homeseer.com/findhomeseer/default.aspx?srcip=$wanip\&localip=$ip\&machine=$host\&tools=true\&port=911 sudo wget $url --spider -q -O -
Comment