diff options
author | Tom Gundersen <teg@jklm.no> | 2011-06-05 19:15:20 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-05 19:37:38 +0200 |
commit | 3b1d78bc524724ed49ac000d85f477876ccfc794 (patch) | |
tree | 5de4dbcdc287a04ec88d825a2bbcca1bb5aa89ad /rc.single | |
parent | 3e874cfd73e0cb70abd568c5b070ff85609af3a4 (diff) | |
download | initscripts-3b1d78bc524724ed49ac000d85f477876ccfc794.tar.xz |
hwclock: allow TZ to be set in adjtime, only adjust for TZ during boot
This allows HARDWARECLOCK to be removed from rc.conf, if you want to
rely on /var/lib/hwclock/adjtime (or wherever the file ends up in the
future). It assumes the relevant path is on the rootfs.
Furthermore, we can assume (since kernel2.6.??) that the rtc modules
set the time from rtc themselves, so our job is just to adjust the tz.
(FWIW, this coincides with what systemd does).
To get the old behavior of not touching the rtc, set it to anything
anything else.
We should probably have chosen a syntax for this, like IGNORE. Maybe
another time...
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.single')
0 files changed, 0 insertions, 0 deletions