SOURCES: gpm.init - variables check makes no sense elsewhere than ...
glen
glen at pld-linux.org
Wed Sep 27 00:52:25 CEST 2006
Author: glen Date: Tue Sep 26 22:52:25 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- variables check makes no sense elsewhere than start
---- Files affected:
SOURCES:
gpm.init (1.25 -> 1.26)
---- Diffs:
================================================================
Index: SOURCES/gpm.init
diff -u SOURCES/gpm.init:1.25 SOURCES/gpm.init:1.26
--- SOURCES/gpm.init:1.25 Wed Sep 27 00:51:25 2006
+++ SOURCES/gpm.init Wed Sep 27 00:52:20 2006
@@ -25,12 +25,12 @@
# Get service config
[ -f /etc/sysconfig/mouse ] && . /etc/sysconfig/mouse
-[ -z "$DEVICE" ] && nls "Please set %s in /etc/sysconfig/mouse" "DEVICE"
-[ -z "$MOUSETYPE" ] && nls "Please set %s in /etc/sysconfig/mouse" "MOUSETYPE"
-
start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/gpm ]; then
+ [ -z "$DEVICE" ] && nls "Please set %s in /etc/sysconfig/mouse" "DEVICE"
+ [ -z "$MOUSETYPE" ] && nls "Please set %s in /etc/sysconfig/mouse" "MOUSETYPE"
+
msg_starting "Gpm"
OPTIONS=""
[ -n "$DEVICE" ] && OPTIONS="-m $DEVICE"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/gpm.init?r1=1.25&r2=1.26&f=u
More information about the pld-cvs-commit
mailing list