latest
This commit is contained in:
1 parent
45a2bcf34e
commit
d9f759a43c
6 files changed
+21
-8
No files matched your search
@@ -6,7 +6,7 @@ exec 1> >(logger -s -t $(basename $0)) 2>&1
|
||||
|
||||
echo "waiting for network to come up..."
|
||||
|
||||
while sleep 1; do ping -c1 www.google.com > /dev/null && break; done
|
||||
until ping -c1 -w1 www.google.com >/dev/null 2>&1; do :; done
|
||||
|
||||
echo "network is now up, running scripts"
|
||||
|
||||
|
||||
Reference in new issue
Block a user