From 93ba67eff9333e434c969bb8131467f777546764 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 6 Nov 2014 14:38:17 -0600 Subject: netmount: unmount nfs file systems --- init.d/netmount.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'init.d') 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 -- cgit v1.2.3