aboutsummaryrefslogtreecommitdiff
path: root/adjtime.cron
AgeCommit message (Collapse)AuthorFiles
2009-08-22Allow skipping of all hardware clock adjustmentsDan McGee1
For virtualized machines, the hardware clock doesn't actually exist, so all hwclock calls fail and print error messages during system startup, shutdown, and the hourly adjtime cronjob. By explicitly looking for HARDWARECLOCK to be set to 'UTC' or 'localtime', all other values will result in hwclock calls being skipped (e.g. set the variable to 'none'). Signed-off-by: Dan McGee <dan@archlinux.org>
2009-03-09Add adjtime handling to hwclock initAaron Griffin1
The hwclock man page recommends calling hwclock with --adjust at start time, and periodically during system run. So let's do that here. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>