Re: RTC problem

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 30 Jun 2008 15:54:23 +0000
In message <20080630151740.GQ17364_at_cicely7.cicely.de>, Bernd Walter writes:

>But since ntpd only tunes the softclock and never sets the RTC it
>allows the RTC to run completely unsyncronized.
>Is there a way to regulary trigger a write to the RTC without
>disturbing ntpd, so that the offset never gets large?

Ideally the adjkerntz we run in cron every night should do that.

The easiest way would be to add a sysctl that when written does it,
thatway systems without adjkerntz could do it with a cronjob that
just sysctl's that variable directly.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Mon Jun 30 2008 - 14:21:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC