W

wait-for-internet

Command line utility that waits till you have an internet connection.