Skip to content

Instantly share code, notes, and snippets.

@anotherjesse
anotherjesse / boot.sh
Created December 14, 2011 17:33
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