aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-03-22 14:50:27 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-03-22 14:50:27 -0500
commit19fa20832c3783e134eb15866bcc1481c99a3f80 (patch)
treec12e1fc321b6e14039d2ae56faafd58fbc271cf9
parent879c7f04eca9336ae9dcccc23c818a9125792123 (diff)
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
-rw-r--r--init.d/localmount.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index 9cbbd415..407c686b 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -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