What's the easiest way to make Busybox keep correct time?

Harald Becker ralda at gmx.de
Mon Sep 1 11:10:43 UTC 2014


Try this one ...

start() {
   echo -n "Starting ntpd: "
   /usr/sbin/ntpd -p north-america.pool.ntp.org && echo "OK" || echo 
"failed"
}

Are you sure your ntpd (a symlink to /bin/busybox) lives in /usr/sbin ?


> Well, I had nothing to do with building this system so I have no idea why
> the formal correct version doesn't seem to want to work.

It is just ugly ... and now I got interested to see why?


> Very interesting, and thank you, but it's not something I am particularly
> concerned about at the moment,

Yep ... was to give you some information how it works/what we are 
discussing about.


> If nothing else, this has been educational.  I'm still hopeful that the
> company that makes this device might have a better solution that will work
> without any problems.

That would indeed be the better way ...

--
Harald



More information about the busybox mailing list