repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
cable-scripts
/
cable-guard
blob
9d2a9bce2d84db97c1f2f13ff7856def16622a43
1
#!/bin/sh
2
3
sleep
60
4
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
12
fi
13
done