aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-08-10 18:45:36 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-08-17 18:21:39 -0500
commit7341cd882fba522c1f1d183603334839bd4df7fc (patch)
tree6cd0633810863e79a715c10a2262c3987325bddc /init.d
parent279f1e5d1013309d99509ab4b7b57521f8a4aba4 (diff)
allow localmount and netmount to fail
Diffstat (limited to 'init.d')
-rw-r--r--init.d/localmount.in3
-rw-r--r--init.d/netmount.in1
2 files changed, 0 insertions, 4 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index b2e8ef17..67e43035 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -29,9 +29,6 @@ start()
ebegin "Mounting local filesystems"
mount -at "$types" $no_netdev
eend $? "Some local filesystem failed to mount"
-
- # Always return 0 - some local mounts may not be critical for boot
- return 0
}
stop()
diff --git a/init.d/netmount.in b/init.d/netmount.in
index 66ba4090..2ce5c2a9 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -27,7 +27,6 @@ start()
rc=$?
fi
ewend $rc "Could not mount all network filesystems"
- return 0
}
stop()