summaryrefslogtreecommitdiff
path: root/init.d/netmount.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/netmount.in')
-rw-r--r--init.d/netmount.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d/netmount.in b/init.d/netmount.in
index d8ec159..a875e1d 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