the reason we need portmap/rpcbind is so we can communicate with rpc.statd, so make sure we depend on it for nfs mounts

This commit is contained in:
Mike Frysinger 2008-01-01 18:11:45 +00:00
parent 1dcfacfbc2
commit 6ed064504d

View File

@ -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() {