netmount: unmount nfs file systems

This commit is contained in:
William Hubbs 2014-11-06 14:38:17 -06:00
parent 1932360adc
commit 93ba67eff9

View File

@ -47,14 +47,7 @@ stop()
eindent
fs=
for x in $net_fs_list $extra_net_fs_list; do
case "$x" in
nfs|nfs4)
continue
;;
*)
fs="$fs${fs:+|}$x"
;;
esac
fs="$fs${fs:+|}$x"
done
[ -n "$fs" ] && fs="^($fs)$"
do_unmount umount ${fs:+--fstype-regex} $fs --netdev