summaryrefslogtreecommitdiffstats
path: root/main/openrc/hwclock-hctosys.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/openrc/hwclock-hctosys.patch')
-rw-r--r--main/openrc/hwclock-hctosys.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/openrc/hwclock-hctosys.patch b/main/openrc/hwclock-hctosys.patch
new file mode 100644
index 000000000..6616a9990
--- /dev/null
+++ b/main/openrc/hwclock-hctosys.patch
@@ -0,0 +1,15 @@
+--- openrc-0.8.2.orig/init.d/hwclock.in
++++ openrc-0.8.2/init.d/hwclock.in
+@@ -94,11 +94,7 @@
+ "$utc_cmd" != --utc -o \
+ -n "$clock_args" ];
+ then
+- if yesno $clock_hctosys; then
+- _hwclock --hctosys $utc_cmd $clock_args
+- else
+- _hwclock --systz $utc_cmd $clock_args
+- fi
++ _hwclock --hctosys $utc_cmd $clock_args
+ retval=$(($retval + $?))
+ fi
+