ntpdate on boot problem

Robert Simmons rsimmons0 at gmail.com
Sat Nov 5 23:27:29 UTC 2011


On Sat, Nov 5, 2011 at 6:33 PM, Matthew Seaman
<m.seaman at infracaninophile.co.uk> wrote:
> crontabs have this handy '@reboot' syntax...  It's all explained in
> crontab(5).

Thanks!

> However, you would be well advised to run ntpd(8) rather than bodging
> the clock with ntpdate at intervals.  ntpdate is deprecated by the ntp
> project, given that ntpd now has the capability to synch the clock the
> first time after restart no matter what the offset.  Just add these
> rc.conf settings:
>
> ntpd_enable="YES"
> ntpd_sync_on_start="YES"

Thanks again, this works without any problems.  I'm still curious how
to get the ntpdate adjustment to occur later in the boot process after
the network interface is UP, but now it's merely academic.

Rob


More information about the freebsd-questions mailing list