SOURCES: psad.init - show proc names being killed

glen glen at pld-linux.org
Mon Dec 18 02:28:01 CET 2006


Author: glen                         Date: Mon Dec 18 01:28:00 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- show proc names being killed

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

---- Diffs:

================================================================
Index: SOURCES/psad.init
diff -u SOURCES/psad.init:1.2 SOURCES/psad.init:1.3
--- SOURCES/psad.init:1.2	Mon Dec 18 02:00:38 2006
+++ SOURCES/psad.init	Mon Dec 18 02:27:54 2006
@@ -26,15 +26,17 @@
 
 stop() {
 	if [ -f /var/lock/subsys/psad ]; then
-		msg_stopping psad
+		msg_stopping "psad psadwatchd"
 		killproc /usr/sbin/psadwatchd
 		R=$?
 		[ $R != 0 ] && RETVAL=$R
 		if [ -f /var/run/psad/kmsgsd.pid ]; then
+			msg_stopping "psad kmsgsd"
 			killproc /usr/sbin/kmsgsd
 			R=$?
 			[ $R != 0 ] && RETVAL=$R
 		fi
+		msg_stopping "psad"
 		killproc /usr/sbin/psad
 		R=$?
 		[ $R != 0 ] && RETVAL=$R
================================================================

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



More information about the pld-cvs-commit mailing list