SOURCES (AC-branch): nfsfs.init - NFSDTYPE check is bogus here

baggins baggins at pld-linux.org
Mon May 8 15:47:28 CEST 2006


Author: baggins                      Date: Mon May  8 13:47:28 2006 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- NFSDTYPE check is bogus here

---- Files affected:
SOURCES:
   nfsfs.init (1.18.2.1 -> 1.18.2.2) 

---- Diffs:

================================================================
Index: SOURCES/nfsfs.init
diff -u SOURCES/nfsfs.init:1.18.2.1 SOURCES/nfsfs.init:1.18.2.2
--- SOURCES/nfsfs.init:1.18.2.1	Mon May  8 14:20:24 2006
+++ SOURCES/nfsfs.init	Mon May  8 15:47:23 2006
@@ -38,7 +38,7 @@
 case "$1" in
   start)
   	if [ ! -f /var/lock/subsys/nfsfs ]; then
-	    if [ "$NFSDTYPE" != "U" ] && grep -q nfs4 /proc/filesystems; then
+	    if grep -q nfs4 /proc/filesystems; then
 		modprobe -s nfs > /dev/null 2>&1
 		if [ "$(kernelverser)" -ge "002006" ]; then
 		    grep -q rpc_pipefs /proc/filesystems && \
@@ -78,7 +78,7 @@
 		retry=$(($retry-1))
 	done
 	ok
-	if [ "$NFSDTYPE" != "U" ] && grep -q nfs4 /proc/filesystems; then
+	if grep -q nfs4 /proc/filesystems; then
 	    msg_stopping "NFS gssd"
 	    killproc rpc.gssd
 	    if [ -f /var/lock/subsys/idmapd -a ! -f /var/lock/subsys/nfs ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/nfsfs.init?r1=1.18.2.1&r2=1.18.2.2&f=u



More information about the pld-cvs-commit mailing list