From 2008846efe204b79d1c0f281d609a1f4b23431c8 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 15 Aug 2009 23:55:25 -0500 Subject: 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 --- rc.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rc.conf') 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) -- cgit v1.2.3