]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - nfsfs.init
- rel 11
[packages/nfs-utils.git] / nfsfs.init
index 8386982af14385e7638ce58dde2798d350720ee1..d765d5b909ae38ec6d50e8d5cf9152625476662e 100644 (file)
@@ -53,15 +53,6 @@ start() {
                /sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
        fi
 
-       # Special case /usr first
-       if ! awk '{ if ($2 == "/usr" && $3 ~ /^nfs(4$|$)/ && $4 !~ /noauto/) exit 1}' /etc/fstab; then
-               run_cmd "Mounting /usr filesystem" mount /usr
-               # In case of /usr over NFS idmapd, gssd and lockd may not start
-               # check if they're running and try to start them if not
-               /sbin/service idmapd status >/dev/null || /sbin/service idmapd start
-               /sbin/service gssd status >/dev/null || /sbin/service gssd start
-               /sbin/service nfslock status >/dev/null || /sbin/service nfslock start
-       fi
        run_cmd "Mounting NFS filesystems" mount -a -t nfs,nfs4
        touch /var/lock/subsys/nfsfs
 }
This page took 0.027451 seconds and 4 git commands to generate.