SOURCES: rpcidmapd.init - proper use of shell variables and wildcards

baggins baggins at pld-linux.org
Fri Apr 6 00:55:33 CEST 2007


Author: baggins                      Date: Thu Apr  5 22:55:33 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- proper use of shell variables and wildcards

---- Files affected:
SOURCES:
   rpcidmapd.init (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/rpcidmapd.init
diff -u SOURCES/rpcidmapd.init:1.9 SOURCES/rpcidmapd.init:1.10
--- SOURCES/rpcidmapd.init:1.9	Thu Apr  5 19:34:45 2007
+++ SOURCES/rpcidmapd.init	Fri Apr  6 00:55:27 2007
@@ -43,7 +43,7 @@
 	if [ ! -f /var/lock/subsys/idmapd ]; then
 		# This is whacko, but we need /proc/fs/nfsd mounted before
 		# starting idmapd on NFS server
-		if [ -e "$RUNLEVELDIR/S*nfs" ]; then
+		if [ -e "$RUNLEVELDIR"/S*nfs ]; then
 			if ! grep -q nfsd /proc/mounts ; then
 				modprobe -s nfsd > /dev/null 2>&1
 				run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpcidmapd.init?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list