]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Minor fix - put nfsd before mountd rpcinfo query.
authorlon <lon>
Sat, 17 Feb 2001 05:13:59 +0000 (05:13 +0000)
committerlon <lon>
Sat, 17 Feb 2001 05:13:59 +0000 (05:13 +0000)
etc/nodist/nfs-server

index d95eadab78997a1ce51c0517d194a153828664ea..77daaebaa6460f2546fa0162cf307e850bff8494 100755 (executable)
@@ -50,10 +50,15 @@ start)
     $EXPORTFS -r
     echo "done."
 
+    echo -n "Starting $NFSD: "
+    startdaemon $PREFIX$NFSD $RPCNFSDCOUNT
+
     if /usr/sbin/rpcinfo -u localhost nfs 3 &>/dev/null 
     then
         RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
     fi
+    echo -n "Starting $MOUNTD: "
+    startdaemon $MOUNTD $RPCMOUNTDOPTS
 
     # Start rquotad if it is set
     if [ -n "$RQUOTAD" ]
@@ -62,11 +67,6 @@ start)
         startdaemon $RQUOTAD
     fi
 
-    echo -n "Starting $MOUNTD: "
-    startdaemon $MOUNTD $RPCMOUNTDOPTS
-    echo -n "Starting $NFSD: "
-    startdaemon $PREFIX$NFSD $RPCNFSDCOUNT
-
     # if this lock file doesn't exist, init won't even try to run
     # the shutdown script for this service on RedHat systems!
     # on non-RedHat systems, /var/lock/subsys may not exist.