ntpd applet

Sergey Naumov sknaumov at gmail.com
Tue Mar 15 13:48:33 UTC 2011


Hello.

I am trying to get rid of ntpd package with it's ntpdate and switch to
busybox's ntpd implementation.
-q option says that ntpd will exit as soon as time will be set and
that this behavior resembles that of ntpdate.
Unfortunately, it is true only if there is a host with given address
and if there is running ntp server on the host. In other cases ntpd
will retry to connect to unexisting host forever or maybe long enough
even if it is running in foreground and -q is provided.
Is there a way to emulate ntpdate behavior (fast time set or fast exit
on failure) with busybox's ntpd?

Thanks in advance,
Sergey Naumov.


More information about the busybox mailing list