Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (8 sloc) 213 Bytes
#!/bin/bash
HOST=$TARGET
echo "Waiting for reboot on $HOST . . ."
until [ `netcat -z -w 5 $HOST 22 2>/dev/null; echo $?` = "0" ]; do
sleep 1
done
echo "Brief pause for services to finish starting . . ."
sleep 10