rc-scripts/trunk/rc.d/init.d/network

wiget cvs at pld-linux.org
Thu Oct 6 18:08:26 CEST 2005


Author: wiget
Date: Thu Oct  6 18:08:23 2005
New Revision: 6429

Modified:
   rc-scripts/trunk/rc.d/init.d/network
Log:
- fixed CIFS unmounting


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	Thu Oct  6 18:08:23 2005
@@ -201,7 +201,7 @@
 		then
 			/etc/rc.d/init.d/netfs stop
 		else
-			netmtab=$(awk '{ if ($3 ~ /^(nfs|smbfs|ncpfs)$/ ) print $3}' /proc/mounts)
+			netmtab=$(awk '{ if ($3 ~ /^(nfs|smbfs|ncpfs|cifs)$/ ) print $3}' /proc/mounts)
 			if (echo "$netmtab" | grep -q nfs); then
 			   run_cmd "Unmounting NFS filesystems" umount -fat nfs
 			fi



More information about the pld-cvs-commit mailing list