inflight-status

Inflight Internet Stauts Helper Scripts
git clone git://r-36.net/inflight-status
Log | Files | Refs | README | LICENSE

inflight-ping (269B)


      1 #!/bin/sh
      2 
      3 # Make everything comparable.
      4 export TZ=GMT
      5 
      6 while /bin/true;
      7 do
      8 	if inflight-status 2>&1 >/dev/null;
      9 	then
     10 		printf "%s :: inflight satellite uplink online\n" "$(date)"
     11 	else
     12 		printf "%s :: inflight satellite uplink offline\n" "$(date)"
     13 	fi
     14 	sleep 5
     15 done
     16