From 912b1f1584d17aea680d561296bff407ea2bb175 Mon Sep 17 00:00:00 2001 From: lon Date: Sat, 17 Feb 2001 05:13:59 +0000 Subject: [PATCH] Minor fix - put nfsd before mountd rpcinfo query. --- etc/nodist/nfs-server | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/nodist/nfs-server b/etc/nodist/nfs-server index d95eada..77daaeb 100755 --- a/etc/nodist/nfs-server +++ b/etc/nodist/nfs-server @@ -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. -- 2.39.5