aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/clock
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
committerRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
commitac9279cc0d5a00bc17908b2914941186020cd3ce (patch)
tree850a4fe19917113e75bfd2e79d00b58208468503 /init.d.Linux/clock
parent444f23e2d158389b22d40537fc9b027d9f575229 (diff)
Massive whitespace cleanup
Diffstat (limited to 'init.d.Linux/clock')
-rwxr-xr-xinit.d.Linux/clock8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d.Linux/clock b/init.d.Linux/clock
index 2af6baff..b8b17a97 100755
--- a/init.d.Linux/clock
+++ b/init.d.Linux/clock
@@ -54,9 +54,9 @@ setupopts() {
TBLURB="s390"
;;
*)
- if [ -e /proc/devices ] && grep -q " cobd$" /proc/devices ; then
+ if [ -e /proc/devices ] && grep -q " cobd$" /proc/devices; then
TBLURB="coLinux"
- elif [ "${CLOCK}" = "UTC" ] ; then
+ elif [ "${CLOCK}" = "UTC" ]; then
utc="--utc"
TBLURB="UTC"
else
@@ -77,7 +77,7 @@ start() {
ebegin "Setting system clock using the hardware clock [${TBLURB}]"
if [ -n "${utc}" ]; then
- if [ -e /proc/modules -a ! -e /dev/rtc ] ; then
+ if [ -e /proc/modules -a ! -e /dev/rtc ]; then
modprobe -q rtc || modprobe -q genrtc
fi
@@ -120,7 +120,7 @@ stop() {
fi
errstr="$(LC_ALL=C hwclock --systohc ${utc} ${clock_args} 2>&1 >/dev/null)"
fi
- if [ -n "${errstr}" ] ; then
+ if [ -n "${errstr}" ]; then
ewarn "${errstr}"
retval=1
fi