Use echo instead of touch - saves on forking

This commit is contained in:
Roy Marples
2007-07-13 00:04:20 +00:00
parent 639024a04a
commit cffbaa6c4e
5 changed files with 13 additions and 16 deletions

View File

@@ -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