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
This commit is contained in:
@@ -16,7 +16,7 @@ start()
|
||||
{
|
||||
# Mount local filesystems in /etc/fstab.
|
||||
local types="noproc" x= no_netdev=
|
||||
for x in $net_fs_list; do
|
||||
for x in $net_fs_list $extra_net_fs_list; do
|
||||
types="${types},${x}"
|
||||
done
|
||||
|
||||
@@ -70,7 +70,7 @@ stop()
|
||||
einfo "Unmounting filesystems"
|
||||
eindent
|
||||
local 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)$"
|
||||
|
Reference in New Issue
Block a user