diff options
author | Dan McGee <dan@archlinux.org> | 2009-08-15 23:55:25 -0500 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-08-22 11:25:27 +0200 |
commit | 2008846efe204b79d1c0f281d609a1f4b23431c8 (patch) | |
tree | 4b9404966d4593af87e609d9ad5b66129a16c9e5 /rc.conf | |
parent | d1f86dbf7819a782df812dde8282a03ab1f82faf (diff) |
Allow skipping of all hardware clock adjustments
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>
Diffstat (limited to 'rc.conf')
-rw-r--r-- | rc.conf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,7 +7,8 @@ # ----------------------------------------------------------------------- # # LOCALE: available languages can be listed with the 'locale -a' command -# HARDWARECLOCK: set to "UTC" or "localtime" +# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result +# in the hardware clock being left untouched (useful for virtualization) # TIMEZONE: timezones are found in /usr/share/zoneinfo # KEYMAP: keymaps are found in /usr/share/kbd/keymaps # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) |