--- netfs.pacnew 2009-03-10 22:08:42.000000000 +0100 +++ netfs 2009-06-07 22:47:42.000000000 +0200 @@ -7,8 +7,11 @@ case "$1" in start) stat_busy "Mounting Network Filesystems" - /bin/mount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk - if [ $? -gt 0 ]; then + /bin/mount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk,glusterfs + 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,glusterfs,fuse.glusterfs + rc=$(($rc+$?)) + if [ $rc -gt 0 ]; then stat_fail else rm_daemon netfs