diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-10-05 14:39:56 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-10-05 14:39:56 -0300 |
commit | d3d017afff0ed1a1f364fd610c17e35bebc08535 (patch) | |
tree | 55cd995717c6cf32d5f8fcb0ea2a174f1d441ba3 /libre/initscripts/split-hwclock-calls.diff | |
parent | 8d460a3e2670da093d1619a84ca908c5ed2b163e (diff) | |
parent | 7b83bedb351161a20b3aa124280a9ecea7ff419f (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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 |