Created
January 13, 2016 13:49
-
-
Save caiquecastro/445274ed9766a32c0e45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while ! ping -n -c 1 8.8.8.8 | |
do | |
sleep 10 | |
done | |
echo "network is working" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment