Re: ntpd and cmos clock update

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 08/30/05

  • Next message: John Hay: "Re: ntpd and cmos clock update"
    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"
    

  • Next message: John Hay: "Re: ntpd and cmos clock update"

    Relevant Pages

    • Re: Help needed with a js command
      ... The original script allowed to shutdown any computer in the ... computer, and I just need to reboot one computer, anyway. ... Const EWX_SHUTDOWN = 1 ...
      (microsoft.public.scripting.jscript)
    • Re: Command help?
      ... I am starting to do some more advanced automated maintenance on my ... After finished to restart X server and allow shutdown and logins. ... tasks and have the system reboot into that run level where it does what ...
      (Fedora)
    • Re: tsshutdn causes TS to hang
      ... shutdown goes ok, the TS service is set to autostart, which it does. ... We are managing 15 terminal servers at 12 ... I found 2 servers that reboot nice every night. ... the other one didn’t install any updates for a couple of months. ...
      (microsoft.public.windows.terminal_services)
    • Re: Script to reboot group of PCs
      ... TRY: Shutdown /? ... /m = specify machine to shutdown ... >> Where machines.txt is a list of machine names or IP's you want to reboot. ... >> Use of any included script samples are subject to the terms specified at ...
      (microsoft.public.windows.server.scripting)
    • RE: Remove "Shutdown" command from w2k PCs but enable restart
      ... would have to field these calls instead of their users able to reboot on ... chase after them to only restart a system at night. ... I use the command line shutdown for the few machines that I have removed ... I also adjusted the bios power on options to deal with a power outage .. ...
      (Focus-Microsoft)