aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-08 23:25:48 +0000
committerRoy Marples <roy@marples.name>2008-04-08 23:25:48 +0000
commit6d8b36e09db079a4ea65acc3f90d26c0633412db (patch)
tree3278e54e8a41123e6be306281846b4b889ae2157 /init.d/netmount.in
parent87597357116dffd4e1136c16aab431844877a247 (diff)
Fix netmout for nfs
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 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