localmount: add "no" in front of network file system types
On Linux, this was not an issue, but we may have been attempting to mount network file systems twice on *bsd. Reported-by: powerman-asdf@yandex.ru x-Gentoo-Bug: 462210 x-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=462210
This commit is contained in:
parent
879c7f04ec
commit
19fa20832c
@ -17,7 +17,7 @@ start()
|
||||
# Mount local filesystems in /etc/fstab.
|
||||
local types="noproc" x= no_netdev=
|
||||
for x in $net_fs_list $extra_net_fs_list; do
|
||||
types="${types},${x}"
|
||||
types="${types},no${x}"
|
||||
done
|
||||
|
||||
if [ "$RC_UNAME" = Linux ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user