Created
December 14, 2011 17:33
-
-
Save anotherjesse/1477582 to your computer and use it in GitHub Desktop.
let me know when the server is up
This file contains hidden or 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 ! ssh -o ConnectTimeout=1 -o PasswordAuthentication=no $1 uptime; do | |
| sleep 1 | |
| done | |
| say the computer is a boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git clone git://gist.github.com/1477582.git gist-1477582