aboutsummaryrefslogtreecommitdiff
path: root/hwclock
AgeCommit message (Collapse)AuthorFiles
2011-08-27Remove double case in hwclock daemonSebastien Luttringer1
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-05hwclock: refactor daemonTom Gundersen1
Before: adjust and set time on boot, adjust rtc every hour, and on shutdown. Now: do not set time on boot, adjust rtc on shutdown. Rationale: 1) We can never ever set the systemtime after system is up and running, as this might make time go backwards (unless we are careful à la ntpd, but we don't want to get into that business). 2) We are under the assumption that exact time is not needed, we are just trying to avoid large, accumulating drifts over time. With the new (significantly simpler) implementation systemtime will be off by the drift since the last clean shutdown. With the old implementation systemtime would be off by the drift since last shutdown (even if it was unclean). Either way the drifts would not accumulate, and a clean reboot would get you a "perfect" time. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-05remove absolute paths from daemons and rc.dDave Reisner1
These are run from a context where PATH will be set, so defining absolute paths is unnecessary.
2011-03-30Make hwclock --adjust as well as --systohc optional (FS#13684)Kurt J. Bosch1
Signed-off-by: Tom Gundersen <teg@jklm.no>