SVN: rc-scripts/trunk/rc.d/init.d/network
baggins
baggins at pld-linux.org
Tue Sep 25 17:54:16 CEST 2007
Author: baggins
Date: Tue Sep 25 17:54:16 2007
New Revision: 8750
Modified:
rc-scripts/trunk/rc.d/init.d/network
Log:
- no need to play with NFS, it screws up / over NFS and we have nfsfs for it
Modified: rc-scripts/trunk/rc.d/init.d/network
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/network (original)
+++ rc-scripts/trunk/rc.d/init.d/network Tue Sep 25 17:54:16 2007
@@ -224,10 +224,7 @@
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
More information about the pld-cvs-commit
mailing list