[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Improving hwclock support in Debian (testing wanted)



On Sat, Feb 18, 2012 at 08:00:28PM +0100, Marco d'Itri wrote:
> On Feb 18, Roger Leigh <rleigh@codelibre.net> wrote:
> 
> > • There are currently two init scripts, hwclockfirst.sh and
> >   hwclock.sh.  The reasons for these two originally existing
> Why do you still bother with init scripts? With very good approximation, 
> nowadays all systems which need hwclock (i.e. are not containers, 
> chroots, etc) use udev:

This updates both the init script and the udev hwclock script.
Also, the init script is still needed to sync the clock on
shutdown; AFAIK udev only triggers the hwclock on startup when
the rtc device is registered.  In addition to that, this ensures
that it works uniformly on non-Linux- and non-udev-using systems.

The (previously undocumented) configuration variables for both
the init script and the udev script are now set in
/etc/default/hwclock.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: