diff options
author | William Hubbs <williamh@gentoo.org> | 2012-02-17 15:02:10 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-02-18 12:49:19 -0600 |
commit | 04afaa3c03ac7400c06a6b5f17cee99cdd4bfaeb (patch) | |
tree | 9de88e4edc3ff177bbe3d4853ccc0b92d908be33 /init.d/hwclock.in | |
parent | a21a2c3e32656cf2a153b3cd9f19eb7fae1f3c7a (diff) |
hwclock: set the hardware clock on shutdown
Previously, the default on linux systems was to not set the hardware
clock to match the system clock during shutdown.
This changes that default to be consistent with *bsd and swclock.
Diffstat (limited to 'init.d/hwclock.in')
-rw-r--r-- | init.d/hwclock.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/hwclock.in b/init.d/hwclock.in index 7f2323ae..eb44f62a 100644 --- a/init.d/hwclock.in +++ b/init.d/hwclock.in @@ -111,7 +111,7 @@ stop() { # Don't tweak the hardware clock on LiveCD halt. [ -n "$CDBOOT" ] && return 0 - yesno ${clock_systohc:-NO} || return 0 + yesno ${clock_systohc:-YES} || return 0 local retval=0 errstr="" setupopts |