aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-01 18:11:45 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-01 18:11:45 +0000
commit6ed064504d21460f8643ee413c1ce73ee4e0c8be (patch)
treeeaa1f544e9a4ee97a8ccf51d5653d4f8e9f610df /init.d/netmount
parent1dcfacfbc202b04ca12517c4c9603298185e36e7 (diff)
the reason we need portmap/rpcbind is so we can communicate with rpc.statd, so make sure we depend on it for nfs mounts
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-xinit.d/netmount3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/netmount b/init.d/netmount
index e2a3d44d..7f8030d2 100755
--- a/init.d/netmount
+++ b/init.d/netmount
@@ -44,6 +44,7 @@ depend() {
# is set to mount at boot
local pmap=""
if need_portmap; then
+ pmap="${pmap} rpc.statd"
[ -x /etc/init.d/rpcbind ] \
&& pmap="rpcbind" \
|| pmap="portmap"
@@ -51,7 +52,7 @@ depend() {
config /etc/fstab
need net ${pmap}
- use afc-client amd autofs dns nfs nfsmount portmap rpcbind
+ use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd
}
start() {