SOURCES: rquotad.init - no need to check /usr/sbin/rpc.rquotad due...

glen glen at pld-linux.org
Fri Oct 13 17:12:50 CEST 2006


Author: glen                         Date: Fri Oct 13 15:12:50 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- no need to check /usr/sbin/rpc.rquotad due rpm integrity

---- Files affected:
SOURCES:
   rquotad.init (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SOURCES/rquotad.init
diff -u SOURCES/rquotad.init:1.11 SOURCES/rquotad.init:1.12
--- SOURCES/rquotad.init:1.11	Fri Oct 13 17:11:08 2006
+++ SOURCES/rquotad.init	Fri Oct 13 17:12:45 2006
@@ -29,11 +29,11 @@
 fi
 
 if [ -x /sbin/pidof ] && [ "$1" != "stop" ]; then
-	[ -z "`/sbin/pidof portmap`" ] && echo "Error: portmap isn't running" && exit 0
+	[ -z "`/sbin/pidof portmap`" ] && echo "Error: portmap isn't running"
+	exit 0
 fi
 
 # Sanity checks
-[ -x /usr/sbin/rpc.rquotad ] || exit 0
 
 if is_yes "$REMOTE_QUOTA_SETTING"; then
     RQUOTADOPTIONS="$RQUOTADOPTIONS --setquota"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rquotad.init?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list