]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - nfs.init
- change detection of nfs4; load nfs module in nfsfs.init
[packages/nfs-utils.git] / nfs.init
index f9822936b42e8abeb99fbb80d29a6cb49f03e034..c010c277dbaa97aff27618398260481718e5b8f1 100644 (file)
--- a/nfs.init
+++ b/nfs.init
@@ -63,7 +63,7 @@ case "$1" in
                        daemon /usr/sbin/exportfs -r
                        msg_starting "NFS mountd"
                        daemon rpc.mountd $RPCMOUNTOPTIONS
-                       if (grep -q nfs4 /proc/filesystems); then
+                       if (grep -q rpc_pipefs /proc/filesystems); then
                            if [ ! -f /var/lock/subsys/idmapd ]; then
                                msg_starting "NFS idmapd"
                                daemon rpc.idmapd $RPCIDMAPOPTIONS
@@ -93,7 +93,7 @@ case "$1" in
                        killproc rpc.mountd
                        msg_stopping "NFS daemon"
                        killproc nfsd -QUIT
-                       if (grep -q nfs4 /proc/filesystems); then
+                       if (grep -q rpc_pipefs /proc/filesystems); then
                            msg_stopping "NFS svcgssd"
                            killproc rpc.svcgssd
                            if [ -f /var/lock/subsys/idmapd -a ! -f /var/lock/subsys/nfsfs ]; then
This page took 0.036117 seconds and 4 git commands to generate.