Adding function to wait for network to come up.
Adding function to wait for network to come up.

This fixes the issue where a facetime call will hang when the teleportme
script starts before Wifi connnection is established.

PaperCutSoftware/teleportme