My scripts: wait-for-host

A walkthrough of a tiny, but surprisingly useful script that waits for some host(s) to get back up (or go down). Useful for rebooting, or very simple monitoring.