[Buildroot] Best way to run ntpdate at startup
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 14 10:43:04 UTC 2010
Hello Jim,
On Sat, 13 Feb 2010 22:27:11 -0800 (PST)
Jim Thomas <jimthomasembedded at yahoo.com> wrote:
> Where should I configure NTPDATE=yes and NTPSERVERS=0.us.pool.ntp.org?
>
> I could add this to the top of S49ntp, but is there some other
> startup config file that is intended for such options so S49ntp
> remains unaltered?
>
> Is this done manually, or through Buildroot 'make menuconfig'?
The ntpd script reads /etc/default/ntpd, in which you can set NTPDATE,
NTPD and other variables.
Cheers,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list