Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 17:04:43 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        ticso@cicely.de
Cc:        Bernd Walter <ticso@cicely7.cicely.de>, freebsd-current@freebsd.org
Subject:   Re: RTC problem 
Message-ID:  <8062.1214845483@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 30 Jun 2008 18:59:21 %2B0200." <20080630165919.GR17364@cicely7.cicely.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20080630165919.GR17364@cicely7.cicely.de>, Bernd Walter writes:

>> 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.
>
>Ok - a sysctl which, when written calls resettodr().
>Plus adding this call to adjkerntz independend of wall_cmos_clock
>existence.
>
>I wonder if people might forget about this when they remove adjkerntz
>from a small system.

The alternative is to do it in the kernel, but I'm not sure if you
can do it from a callout, so it's not quite trivial to add.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8062.1214845483>