aboutsummaryrefslogtreecommitdiff
path: root/init.d/localmount.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-08-17 17:51:06 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-08-18 18:25:48 -0500
commit2a439c85bd69efc14847b4397bd6783cac051405 (patch)
treee53494e5a5678e57cc2db3be0100e06e2b17a5b7 /init.d/localmount.in
parent7341cd882fba522c1f1d183603334839bd4df7fc (diff)
local/netmount: remove uses of -O [no]_netdev
This was causing an incompatibility with busybox, and we do not use it in Gentoo.
Diffstat (limited to 'init.d/localmount.in')
-rw-r--r--init.d/localmount.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index 67e43035..9d05ebcf 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -15,19 +15,18 @@ depend()
start()
{
# Mount local filesystems in /etc/fstab.
- local types="noproc" x= no_netdev=
+ local types="noproc" x=
for x in $net_fs_list $extra_net_fs_list; do
types="${types},no${x}"
done
if [ "$RC_UNAME" = Linux ]; then
- no_netdev="-O no_netdev"
if mountinfo -q /usr; then
touch "$RC_SVCDIR"/usr_premounted
fi
fi
ebegin "Mounting local filesystems"
- mount -at "$types" $no_netdev
+ mount -at "$types"
eend $? "Some local filesystem failed to mount"
}