]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- no need to play with NFS, it screws up / over NFS and we have nfsfs for it
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 25 Sep 2007 15:54:16 +0000 (15:54 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 25 Sep 2007 15:54:16 +0000 (15:54 +0000)
svn-id: @8750

rc.d/init.d/network

index 09519dfe06da7bbd8e5587a5483231be17ef4d59..92b87afb56ea72d6d9c1d3c6c257eb4c7c32431f 100644 (file)
@@ -224,10 +224,7 @@ stop() {
                then
                        /etc/rc.d/init.d/netfs stop
                else
-                       netmtab=$(awk '{ if ($3 ~ /^(nfs|nfs4|smbfs|ncpfs|cifs)$/ ) print $3}' /proc/mounts)
-                       if (echo "$netmtab" | grep -q nfs); then
-                               run_cmd "Unmounting NFS filesystems" umount -fat nfs,nfs4
-                       fi
+                       netmtab=$(awk '{ if ($3 ~ /^(smbfs|ncpfs|cifs)$/ ) print $3}' /proc/mounts)
                        if (echo "$netmtab" | grep -q smbfs); then
                                run_cmd "Unmounting SMB filesystems" umount -at smbfs
                        fi
This page took 0.039602 seconds and 4 git commands to generate.