summaryrefslogtreecommitdiff
path: root/init.d.BSD
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-13 00:04:20 +0000
committerRoy Marples <roy@marples.name>2007-07-13 00:04:20 +0000
commitcffbaa6c4e90835cf50be79ac304cccf27605b39 (patch)
tree6e80b33f3254274f987f47f3c57d7335a278f64d /init.d.BSD
parent639024a04a34dea5e32812ce7c1e9e6f0b5f7e5c (diff)
downloadopenrc-cffbaa6c4e90835cf50be79ac304cccf27605b39.tar.gz
openrc-cffbaa6c4e90835cf50be79ac304cccf27605b39.tar.bz2
openrc-cffbaa6c4e90835cf50be79ac304cccf27605b39.tar.xz
Use echo instead of touch - saves on forking
Diffstat (limited to 'init.d.BSD')
-rwxr-xr-xinit.d.BSD/clock2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.BSD/clock b/init.d.BSD/clock
index 17e6f1d..cc4380f 100755
--- a/init.d.BSD/clock
+++ b/init.d.BSD/clock
@@ -24,7 +24,7 @@ start() {
[ "${CLOCK}" = "UTC" ] && TBLURB="UTC"
ebegin "Starting the System Clock Adjuster [${TBLURB}]"
if [ "${CLOCK}" != "UTC" ] ; then
- touch /etc/wall_cmos_clock
+ echo >/etc/wall_cmos_clock
start-stop-daemon --start --exec /sbin/adjkerntz -- -i
else
rm -f /etc/wall_cmos_clock