From 6d8b36e09db079a4ea65acc3f90d26c0633412db Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 8 Apr 2008 23:25:48 +0000 Subject: Fix netmout for nfs --- init.d/netmount.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'init.d/netmount.in') diff --git a/init.d/netmount.in b/init.d/netmount.in index d8ec1593..a875e1d0 100644 --- a/init.d/netmount.in +++ b/init.d/netmount.in @@ -23,12 +23,12 @@ depend() { # Only have portmap as a dependency if there is a nfs mount in fstab # that is set to mount at boot - local pmap="" + local pmap= if need_portmap; then - pmap="${pmap} rpc.statd" + pmap="rpc.statd" [ -x @SYSCONFDIR@/init.d/rpcbind ] \ - && pmap="rpcbind" \ - || pmap="portmap" + && pmap="${pmap} rpcbind" \ + || pmap="${pmap} portmap" fi config /etc/fstab -- cgit v1.2.3