aboutsummaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-15 23:55:25 -0500
committerThomas Bächler <thomas@archlinux.org>2009-08-22 11:25:27 +0200
commit2008846efe204b79d1c0f281d609a1f4b23431c8 (patch)
tree4b9404966d4593af87e609d9ad5b66129a16c9e5 /rc.conf
parentd1f86dbf7819a782df812dde8282a03ab1f82faf (diff)
downloadinitscripts-2008846efe204b79d1c0f281d609a1f4b23431c8.tar.xz
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.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.conf b/rc.conf
index b9495f8..252a9b1 100644
--- a/rc.conf
+++ b/rc.conf
@@ -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)