Re: ntpd and cmos clock update
From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 08/30/05
- Previous message: M. Warner Losh: "Re: ntpd and cmos clock update"
- In reply to: Dag-Erling Smørgrav: "Re: ntpd and cmos clock update"
- Next in thread: M. Warner Losh: "Re: ntpd and cmos clock update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 11:42:49 -0500 To: Dag-Erling Smorgrav <des@des.no>
In the last episode (Aug 30), Dag-Erling Smorgrav said:
> John-Mark Gurney <gurney_j@resnet.uoregon.edu> writes:
> > but since we don't set the TOD chip upon reboot, all the work that
> > ntpd did over the previous reboot is lost...
>
> echo 'ntpdate_enable="YES"' >>/etc/rc.conf
I think he meant shutdown instead of reboot. ntpd will step the clock
itself on bootup if it needs to (although not as quickly at ntpdate
certainly).
Just calling resettodr during shutdown would be the easiest solution, I
think. Or have a kernel timer fire that calls it every 24 hours.
-- Dan Nelson dnelson@allantgroup.com _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: M. Warner Losh: "Re: ntpd and cmos clock update"
- In reply to: Dag-Erling Smørgrav: "Re: ntpd and cmos clock update"
- Next in thread: M. Warner Losh: "Re: ntpd and cmos clock update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|