[arch-projects] [initscripts] [PATCH 01/13] Fix hwclock comments
Kurt J. Bosch
kjb-temp-2009 at alpenjodel.de
Fri Jun 24 05:14:51 EDT 2011
---
rc.conf | 2 +-
rc.sysinit | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/rc.conf b/rc.conf
index 5984171..b217ddb 100644
--- a/rc.conf
+++ b/rc.conf
@@ -9,7 +9,7 @@
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# 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
+# 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.
# TIMEZONE: timezones are found in /usr/share/zoneinfo
diff --git a/rc.sysinit b/rc.sysinit
index 7bcd0a5..e4c1c36 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -70,8 +70,7 @@ if [[ $HWCLOCK_PARAMS ]]; then
# 3. This will set the clock, if using non-UTC, off the last known
# configured timezone. Any new timezone put in rc.conf is copied over at
# a later time.
- # This does *NOT* take into account a time adjustment file as /var may not be
- # mounted yet. A second set may occur in rc.d/hwclock to match rc.conf.
+ # This also sets the kernel time zone.
if [[ -f /etc/localtime ]]; then
hwclock $HWCLOCK_PARAMS
fi
--
1.7.1
More information about the arch-projects
mailing list