What's the easiest way to make Busybox keep correct time?
Denys Vlasenko
vda.linux at googlemail.com
Tue Sep 2 13:52:15 UTC 2014
$ busybox ntpd --help
BusyBox v1.22.1 (2014-02-01 19:25:19 CET) multi-call binary.
Usage: ntpd [-dnqNwl] [-S PROG] [-p PEER]...
NTP client/server
-d Verbose
-n Do not daemonize
-q Quit after clock is set
-N Run at high priority
-w Do not set time (only query peers), implies -n
-l Run as server on port 123
-p PEER Obtain time from PEER (may be repeated)
-S PROG Run PROG after stepping time, stratum change, and every 11 mins
^^^^^^^^^^^^^^^^^^
use this to periodically set the hw clock
More information about the busybox
mailing list