Gentoo Archives: gentoo-embedded

From: Ed W <lists@××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] sysvinit: sanetime for boards without an rtc?
Date: Fri, 29 Jul 2011 15:36:07
Message-Id: 4E32D354.2090509@wildgooses.com
In Reply to: Re: [gentoo-embedded] sysvinit: sanetime for boards without an rtc? by Christopher Friedt
1 On 28/07/2011 14:28, Christopher Friedt wrote:
2 > Apparently though, a similar mechanism already exists for OpenRC
3 > called swclock instead of hwclock, and they said I should just do
4 > this:
5 >
6 > rc-update del hwclock boot
7 > rc-update add swclock boot
8
9 You beat me too it!
10
11 Yes, this just bumps the clock forward monotonically. Usually this is a
12 useful improvement, but you may also need a cron job to touch your clock
13 file if you don't expect the shutdown script to run...
14
15 Openrc has quite a few nice tweaks tucked away in it. Worth looking
16 through the more obscure options
17
18 Cheers
19
20 Ed W