From 6b41b6500842b2b6bd7f78b4f2ccda579ee1a108 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 11 Jan 2008 12:18:05 +0000 Subject: Remove vim settings. --- init.d.FreeBSD/clock | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'init.d.FreeBSD') diff --git a/init.d.FreeBSD/clock b/init.d.FreeBSD/clock index 3e7ce152..1000f846 100644 --- a/init.d.FreeBSD/clock +++ b/init.d.FreeBSD/clock @@ -14,7 +14,8 @@ else utc="Local Time" fi -depend() { +depend() +{ # BSD adjkerntz needs to be able to write to /etc if [ "${clock}" = "UTC" -a -e /etc/wall_cmos_clock ] || [ "${clock}" != "UTC" -a ! -e /etc/wall_cmos_clock ]; then @@ -22,7 +23,8 @@ depend() { fi } -start() { +start() +{ ebegin "Starting the System Clock Adjuster [${utc}]" if [ "${clock}" != "UTC" ]; then echo >/etc/wall_cmos_clock @@ -34,13 +36,15 @@ start() { eend $? } -save() { +save() +{ ebegin "Setting hardware clock using the system clock [${utc}]" adjkerntz -a eend $? } -stop() { +stop() +{ # Don't tweak the hardware clock on LiveCD halt. if yesno "${clock_systohc:-${CLOCK_SYSTOHC}}"; then [ -z "${CDBOOT}" ] && save @@ -54,5 +58,3 @@ stop() { eend 0 fi } - -# vim: set ts=4 : -- cgit v1.2.3