diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-07 15:13:59 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-07 15:13:59 (GMT) |
commit | 001434e04ddc008b1b7844d824b3fe2d6e5bb210 (patch) | |
tree | e66a40268805f2cc5f8fe160e8d220e73598742a /abs/core/initscripts/split-hwclock-calls.diff | |
parent | fdcaaa06579bd80991f3a5343d7262667548c8f6 (diff) | |
download | linhes_pkgbuild-001434e04ddc008b1b7844d824b3fe2d6e5bb210.zip linhes_pkgbuild-001434e04ddc008b1b7844d824b3fe2d6e5bb210.tar.gz linhes_pkgbuild-001434e04ddc008b1b7844d824b3fe2d6e5bb210.tar.bz2 |
initscripts 2012.10.1
Diffstat (limited to 'abs/core/initscripts/split-hwclock-calls.diff')
-rw-r--r-- | abs/core/initscripts/split-hwclock-calls.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/core/initscripts/split-hwclock-calls.diff b/abs/core/initscripts/split-hwclock-calls.diff new file mode 100644 index 0000000..c0a6a4f --- /dev/null +++ b/abs/core/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 |