Wait for ntp server to synchronize
ntp-wait [ -f ] [ -n tries ] [ -s sleep ] [ -v ]
ntp-wait waits until the locally running ntpd is in state 4 (synchronized). This could be useful at boot time, to delay the boot sequence until after "ntpd -g" has set the time.
Force hard failure if state is unknown.
Number of tries before giving up (default 1000 = 10min+)
Seconds to sleep between tries (default 6s = 10/min)