Author: glen                         Date: Tue Feb 12 08:57:26 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use rc-scripts is_yes()
- start+stop must be 100

---- Files affected:
SOURCES:
   specter.init (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/specter.init
diff -u SOURCES/specter.init:1.2 SOURCES/specter.init:1.3
--- SOURCES/specter.init:1.2    Tue Feb 12 09:55:41 2008
+++ SOURCES/specter.init        Tue Feb 12 09:57:21 2008
@@ -2,21 +2,19 @@
 #
 # specter              Starts specter.
 #
-# chkconfig:   2345 91 91
+# chkconfig:   2345 91 09
 # description: specter is the userland packect logger for iptables ULOG target.
 
 # Source function library
 . /etc/rc.d/init.d/functions
 
-[ -f /usr/sbin/specter ] || exit 0
-
 # Get service config
 if [ -f /etc/sysconfig/specter ]; then
        . /etc/sysconfig/specter
 fi
 
 CONFIGS=/etc/specter.conf
-if [ "${MULTIPLE}" == "YES" ]; then
+if is_yes "${MULTIPLE}"; then
        CONFIGS="$CONFIGS /etc/specter/*.conf"
 fi
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/specter.init?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to