ADD do-when-up.

Script to wait until a given host is online as determined by ping then
execute the given command.