diff options
Diffstat (limited to 'init.d/netmount.in')
-rw-r--r-- | init.d/netmount.in | 8 |
1 files changed, 4 insertions, 4 deletions
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 |