From e8e86b96dc8abbdfb7069a267873ef2950eb84cb Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 5 Jul 2011 14:33:21 -0500 Subject: fix issue with extra_net_fs_list The extra_net_fs_list variable was not being included as it should have been for the net file systems because it was being expanded before it was set by the user. X-Gentoo-Bug: 374133 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=374133 --- init.d/netmount.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init.d/netmount.in') 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)$" -- cgit v1.2.3