aboutsummaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-25 00:53:05 +0200
committerTom Gundersen <teg@jklm.no>2011-06-25 01:27:53 +0200
commitac55830ea6cfa2c130275ebd6b4f2c0fea80130e (patch)
treed9756cca22e0772acf615de2b9ae730e51bc1f2b /rc.conf
parent5b19b901c6b00dd9b2b3a39e983b88ddd5eb874f (diff)
downloadinitscripts-ac55830ea6cfa2c130275ebd6b4f2c0fea80130e.tar.xz
hwclock: use correct timezone
To avoid setting the kernel timezone with an out-of-date /etc/localtime, we pass TZ directly to hwclock. Also document how TIMEZONE and HARDWARECLOCK are optional in rc.conf Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.conf')
-rw-r--r--rc.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.conf b/rc.conf
index b217ddb..9700480 100644
--- a/rc.conf
+++ b/rc.conf
@@ -11,8 +11,10 @@
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
-# Note: Using "localtime" is discouraged.
+# Note: Using "localtime" is discouraged, using "" makes hwclock fall back
+# to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
+# Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans