aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/netmount.in')
-rw-r--r--init.d/netmount.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/netmount.in b/init.d/netmount.in
index 4cc8842f..963ad26d 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -44,7 +44,7 @@ start()
[ -x @SYSCONFDIR@/init.d/rpcbind ] && pmap="rpcbind"
local x= fs= rc=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
case "$x" in
nfs|nfs4)
# If the nfsmount script took care of the nfs
@@ -81,7 +81,7 @@ stop()
ebegin "Unmounting network filesystems"
. "$RC_LIBEXECDIR"/sh/rc-mount.sh
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
fs="$fs${fs:+,}$x"
done
if [ -n "$fs" ]; then
@@ -90,7 +90,7 @@ stop()
eindent
fs=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
fs="$fs${fs:+|}$x"
done
[ -n "$fs" ] && fs="^($fs)$"