From 04afaa3c03ac7400c06a6b5f17cee99cdd4bfaeb Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 17 Feb 2012 15:02:10 -0600 Subject: 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. --- init.d/hwclock.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/hwclock.in') diff --git a/init.d/hwclock.in b/init.d/hwclock.in index 7f2323a..eb44f62 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 -- cgit v1.2.3