aboutsummaryrefslogtreecommitdiff
path: root/init.d/moused.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-17 04:49:07 -0500
committerMike Frysinger <vapier@gentoo.org>2011-01-17 04:49:12 -0500
commitfaa2df11597cf496205d3d629e3b3147b569afc8 (patch)
tree6e1db42c42365087686f48dbe9c39515de03f4ab /init.d/moused.in
parent711713d6642eff155bfede8a2dd213824016b76c (diff)
more whitespace cleanup
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'init.d/moused.in')
-rw-r--r--init.d/moused.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/init.d/moused.in b/init.d/moused.in
index a3622284..33b8d02b 100644
--- a/init.d/moused.in
+++ b/init.d/moused.in
@@ -21,13 +21,13 @@ depend()
start()
{
- ebegin "Starting $name"
+ ebegin "Starting $name"
if [ -z "$moused_device" ]; then
local dev=
for dev in /dev/psm[0-9]* /dev/ums[0-9]*; do
[ -c "$dev" ] || continue
- [ -e /var/run/moused-"${dev##*/}".pid ] && continue
+ [ -e /var/run/moused-"${dev##*/}".pid ] && continue
moused_device=$dev
eindent
einfo "Using mouse on $moused_device"
@@ -37,7 +37,7 @@ start()
fi
if [ -z "$moused_device" ]; then
- eend 1 "No mouse device found"
+ eend 1 "No mouse device found"
return 1
fi
@@ -49,7 +49,7 @@ start()
--pidfile "$pidfile" \
-- $args -p "$moused_device" -I "$pidfile"
local retval=$?
-
+
if [ $retval = 0 ]; then
local ttyv=
for ttyv in /dev/ttyv*; do
@@ -57,6 +57,6 @@ start()
: $((retval+= $?))
done
fi
-
+
eend $retval "Failed to start moused"
}