--- initscripts-2008.08-1.orig/etc/rc.d/netfs 2008-08-14 11:45:00.000000000 +0200 +++ initscripts-2008.08-1/etc/rc.d/netfs 2008-09-10 21:19:44.000000000 +0200 @@ -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 + RET1=$? + /bin/mount -a -O _netdev + RET2=$? + if [ $RET1 -gt 0 ] || [ $RET2 -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 + RET1=$? + /bin/umount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk + RET2=$? + if [ $RET1 -gt 0 ] || [ $RET2 -gt 0 ]; then stat_fail else rm_daemon netfs