Skip to content

Instantly share code, notes, and snippets.

@anotherjesse
Created December 14, 2011 17:33
Show Gist options
  • Select an option

  • Save anotherjesse/1477582 to your computer and use it in GitHub Desktop.

Select an option

Save anotherjesse/1477582 to your computer and use it in GitHub Desktop.
let me know when the server is up
#!/bin/bash
while ! ssh -o ConnectTimeout=1 -o PasswordAuthentication=no $1 uptime; do
sleep 1
done
say the computer is a boot
@seb836-duplicate
Copy link
Copy Markdown

git clone git://gist.github.com/1477582.git gist-1477582

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment