SOURCES: nfs.init - properly set mountd port

baggins baggins at pld-linux.org
Thu Mar 22 01:09:46 CET 2007


Author: baggins                      Date: Thu Mar 22 00:09:46 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- properly set mountd port

---- Files affected:
SOURCES:
   nfs.init (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SOURCES/nfs.init
diff -u SOURCES/nfs.init:1.40 SOURCES/nfs.init:1.41
--- SOURCES/nfs.init:1.40	Wed Mar 21 15:04:53 2007
+++ SOURCES/nfs.init	Thu Mar 22 01:09:41 2007
@@ -59,6 +59,8 @@
 				RPCMOUNTOPTIONS="$RPCMOUNTOPTIONS --no-nfs-version $vers"
 		done
 
+		[ -n "$MOUNTD_PORT" ] && RPCMOUNTOPTIONS="$RPCMOUNTOPTIONS -p $MOUNTD_PORT"
+
 		# Start daemons.
 		msg_starting "NFS exportfs"
 		daemon /usr/sbin/exportfs -r
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/nfs.init?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list