[csw-devel] SF.net SVN: gar:[16042] csw/mgar/pkg/sasl/trunk/files/cswsaslauthd.init

guengel at users.sourceforge.net guengel at users.sourceforge.net
Sun Oct 30 16:52:02 CET 2011


Revision: 16042
          http://gar.svn.sourceforge.net/gar/?rev=16042&view=rev
Author:   guengel
Date:     2011-10-30 15:52:02 +0000 (Sun, 30 Oct 2011)
Log Message:
-----------
SMF will not be enabled by default. Made pgrep safe.

Modified Paths:
--------------
    csw/mgar/pkg/sasl/trunk/files/cswsaslauthd.init

Modified: csw/mgar/pkg/sasl/trunk/files/cswsaslauthd.init
===================================================================
--- csw/mgar/pkg/sasl/trunk/files/cswsaslauthd.init	2011-10-30 15:50:13 UTC (rev 16041)
+++ csw/mgar/pkg/sasl/trunk/files/cswsaslauthd.init	2011-10-30 15:52:02 UTC (rev 16042)
@@ -12,6 +12,7 @@
 #RC_SNUM 85
 #RC_KLEV 0,1,2,S
 #RC_SLEV 2
+#AUTOENABLE no
 
 INIT_FILE=/etc/opt/csw/saslauthd.init
 if [ ! -f "${INIT_FILE}" ]; then
@@ -47,7 +48,7 @@
 }
 
 stop() {
-    if test "x`pgrep saslauthd`" != x; then
+    if test "x`pgrep -x saslauthd`" != x; then
         echo "Stopping saslauthd "
         pkill saslauthd
         echo

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list