updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cable-scripts / cable-guard
blob9d2a9bce2d84db97c1f2f13ff7856def16622a43
1 #!/bin/sh
3 sleep 60
5 while :
6 do
7 status=`cable-status 2>&1 |awk '{print $4;}'`
8 if [ "$status" == down ]; then
9 cable-start > /dev/null 2>&1
10 else
11 sleep 60
13 done