From 6ed064504d21460f8643ee413c1ce73ee4e0c8be Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 1 Jan 2008 18:11:45 +0000 Subject: the reason we need portmap/rpcbind is so we can communicate with rpc.statd, so make sure we depend on it for nfs mounts --- init.d/netmount | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.d/netmount') 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() { -- cgit v1.2.3