diff options
author | root <root@rshg054.dnsready.net> | 2012-10-06 00:25:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-06 00:25:32 -0700 |
commit | e7552010f531ef1b114352f0ce71a307360bf1d4 (patch) | |
tree | d37bd67211f2dc084113f36b80f2b4b5b9622aa5 /libre/initscripts/split-hwclock-calls.diff | |
parent | 777466db27694f0cad10a7159ba66f2a2b39a516 (diff) |
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'libre/initscripts/split-hwclock-calls.diff')
-rw-r--r-- | libre/initscripts/split-hwclock-calls.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/initscripts/split-hwclock-calls.diff b/libre/initscripts/split-hwclock-calls.diff new file mode 100644 index 000000000..c0a6a4fd6 --- /dev/null +++ b/libre/initscripts/split-hwclock-calls.diff @@ -0,0 +1,21 @@ +diff --git a/rc.sysinit b/rc.sysinit +index eb49e2b..8f9727b 100755 +--- a/rc.sysinit ++++ b/rc.sysinit +@@ -34,7 +34,6 @@ bootlogd -p /run/bootlogd.pid + + run_hook sysinit_start + +-HWCLOCK_PARAMS="--systz" + case $HARDWARECLOCK in + "") ;; + UTC) HWCLOCK_PARAMS+=" --utc --noadjfile";; +@@ -54,7 +53,7 @@ if [[ $HWCLOCK_PARAMS ]]; then + + [[ $TIMEZONE ]] && export TZ=$TIMEZONE + +- hwclock $HWCLOCK_PARAMS && stat_done || stat_fail ++ { hwclock $HWCLOCK_PARAMS && hwclock --systz; } && stat_done || stat_fail + + unset TZ + fi |