]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- move nfsd fs mounting to proper script, thanks wiget
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 6 Sep 2004 09:14:59 +0000 (09:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nfs.init -> 1.20
    nfsfs.init -> 1.18

nfs.init
nfsfs.init

index fe497007cbf6f9cf001fb2e726ea21a7fa7bff20..8472bd433a4c4ff6934d1bdb803eb3ab0f9c3b4e 100644 (file)
--- a/nfs.init
+++ b/nfs.init
@@ -50,6 +50,12 @@ case "$1" in
                        msg_starting "NFS daemon"
                        daemon rpc.nfsd
                else
+                       modprobe -s nfsd > /dev/null 2>&1
+                       if [ "$(kernelverser)" -ge "002006" ] && \
+                           grep -q nfsd /proc/filesystems && \
+                           ! grep -q nfsd /proc/mounts; then
+                               run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
+                       fi
                        msg_starting "NFS"
                        daemon /usr/sbin/exportfs -r
                        msg_starting "NFS mountd"
index 1fb5a5766640a52938adc29e6b8e7881ef1c1d78..a4d91d608bf73ab2b31119a221b0600850da9531 100644 (file)
@@ -37,13 +37,6 @@ fi
 # See how we were called.
 case "$1" in
   start)
-       modprobe -s nfsd > /dev/null 2>&1
-       
-       if [ "$(kernelverser)" -ge "002006" ] && \
-               grep -q nfsd /proc/filesystems && \
-               ! grep -q nfsd /proc/mounts; then
-                       run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
-       fi
        run_cmd "Mounting NFS filesystems" mount -a -t nfs
        touch /var/lock/subsys/nfsfs
        ;;
This page took 0.060987 seconds and 4 git commands to generate.