diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-09 21:55:49 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-09 21:55:49 -0400 |
commit | 42a5749cf083ca141ea356263cf5ad0000f5da12 (patch) | |
tree | 5dd2824f43e6c2af95281af174c7e8c1cb7b29b7 /libre/initscripts/split-hwclock-calls.diff | |
parent | ad1725db924d8330ec3c9cd738f214f51fbc4504 (diff) | |
parent | 533189fa3e72bb81b1904365f40d8fbd4ef78690 (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 |