diff options
author | Tom Gundersen <teg@jklm.no> | 2012-03-05 20:16:38 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-03-10 00:30:40 +0100 |
commit | bdad979a6f062228c318f0903f3d11c6865c5ff1 (patch) | |
tree | 24ef51e66c627bfa0ec4e00c8ded5d749394a451 | |
parent | ea3f8c5761d7f1cdf693746bc3322d9482b349ce (diff) |
netfs: force umounts in order to avoid hanging on NFS
This should hopefully fix problems with umount hanging on shutdown.
FWIW, this is also what systemd does.
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-x | netfs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,9 +16,9 @@ case "$1" in ;; stop) stat_busy "Unmounting Network Filesystems" - umount -a -O _netdev + umount -a -f -O _netdev rc=$? - umount -a -t "$NETFS" + umount -a -f -t "$NETFS" (( rc || $? )) && stat_die rm_daemon netfs stat_done |