summaryrefslogtreecommitdiffstats
path: root/main/openrc/hwclock-hctosys.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-03 02:52:15 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-03 02:52:15 -0500
commit56cd800e13933fce3cd7fd438d599d35659e63cb (patch)
tree8881e52cb53150048fa38fa736ff5e81ccc57ca3 /main/openrc/hwclock-hctosys.patch
parent76739e96e382f6d406c7bca40331dac6eb66b216 (diff)
downloadaports-56cd800e13933fce3cd7fd438d599d35659e63cb.tar.bz2
aports-56cd800e13933fce3cd7fd438d599d35659e63cb.tar.xz
main/openrc: assume clock_hctosys is YES
fix #620
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
+