aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2014-11-06 14:38:17 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-11-06 14:38:17 -0600
commit93ba67eff9333e434c969bb8131467f777546764 (patch)
treecdccef87b5e17f67a2b4dea5f2dbf7fabe34ba48 /init.d
parent1932360adca3f9fe9b47bcfad7b8bd5efbd33bee (diff)
netmount: unmount nfs file systems
Diffstat (limited to 'init.d')
-rw-r--r--init.d/netmount.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/init.d/netmount.in b/init.d/netmount.in
index f6145f0f..4ea0c4cc 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -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