Author: aredridel                    Date: Mon Jan 19 02:00:59 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- works

---- Files affected:
SOURCES:
   nslcd.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/nslcd.init
diff -u SOURCES/nslcd.init:1.1 SOURCES/nslcd.init:1.2
--- SOURCES/nslcd.init:1.1      Mon Jan 19 02:58:06 2009
+++ SOURCES/nslcd.init  Mon Jan 19 03:00:53 2009
@@ -22,6 +22,7 @@
 start() {
        if [ ! -f /var/lock/subsys/nss-ldapd ]; then
                msg_starting "NSS LDAP Cache Daemon"
+               busy
                daemon nslcd
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nss-ldapd
@@ -34,9 +35,8 @@
        if [ -f /var/lock/subsys/nss-ldapd ]; then
                msg_stopping "NSS LDAP Cache Daemon"
                busy
-               killproc -p /var/run/nslcd/nslcd.pid
+               killproc --pidfile /var/run/nslcd/nslcd.pid nslcd
                rm -f /var/lock/subsys/nss-ldapd >/dev/null 2>&1
-               ok
        else
                msg_not_running "NSS LDAP Cache Daemon"
        fi
@@ -70,7 +70,6 @@
        ;;
   force-reload)
        condrestart 7
-       ;;
        ;;
   status)
        status nslcd
================================================================

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

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

Reply via email to