blob: c0a6a4fd6db4f09eaa9b03f02c4672cfebc63fcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
|