Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0004938: /etc/init.d/network does not check for cifs

$
0
0
small fix:<br /> --- /etc/init.d/network 2010-10-13 15:36:48.000000000 +0200<br /> +++ network 2011-07-07 12:17:41.000000000 +0200<br /> @@ -192,7 +192,8 @@<br /> NFSMTAB=`LC_ALL=C awk '$3 ~ /^nfs/ { print $2 }' /proc/mounts`<br /> SMBMTAB=`LC_ALL=C awk '$3 == "smbfs" { print $2 }' /proc/mounts`<br /> NCPMTAB=`LC_ALL=C awk '$3 == "ncpfs" { print $2 }' /proc/mounts`<br /> - if [ -n "$NFSMTAB" -o -n "$SMBMTAB" -o -n "$NCPMTAB" ] ; then<br /> + CIFSMTAB=`LC_ALL=C awk '$3 == "cifs" { print $2 }' /proc/mounts`<br /> + if [ -n "$NFSMTAB" -o -n "$SMBMTAB" -o -n "$NCPMTAB" -o -n "$CIFSMTAB" ] ; then<br /> /etc/init.d/netfs stop<br /> fi<br /> fi<br /> <br /> Of course the best would be to get all network filesystem types listed in /etc/init.d/netfs, or maybe just call netfs stop even without checking the list of mounted filesystems in /etc/init.d/network (netfs could check it by itself).

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>