--- initscripts-2009.03-2.orig/etc/rc.d/netfs 2009-03-10 22:08:42.000000000 +0100 +++ initscripts-2009.03-2/etc/rc.d/netfs 2008-11-30 12:48:41.000000000 +0100 @@ -8,7 +8,10 @@ start) stat_busy "Mounting Network Filesystems" /bin/mount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk - if [ $? -gt 0 ]; then + rc=$? + /bin/mount -a -O _netdev + rc=$(($rc+$?)) + if [ $rc -gt 0 ]; then stat_fail else add_daemon netfs @@ -17,8 +20,11 @@ ;; stop) stat_busy "Unmounting Network Filesystems" - umount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk - if [ $? -gt 0 ]; then + /bin/umount -a -O _netdev + rc=$? + /bin/umount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk + rc=$(($rc+$?)) + if [ $rc -gt 0 ]; then stat_fail else rm_daemon netfs