aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/netmount.in')
-rw-r--r--init.d/netmount.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/netmount.in b/init.d/netmount.in
index 3219c83c..38390fa5 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -26,7 +26,7 @@ depend()
local pmap=""
if need_portmap; then
pmap="${pmap} rpc.statd"
- [ -x /etc/init.d/rpcbind ] \
+ [ -x @SYSCONFDIR@/init.d/rpcbind ] \
&& pmap="rpcbind" \
|| pmap="portmap"
fi
@@ -40,7 +40,7 @@ depend()
start()
{
local myneed= myuse= pmap="portmap" nfsmounts=
- [ -x /etc/init.d/rpcbind ] && pmap="rpcbind"
+ [ -x @SYSCONFDIR@/init.d/rpcbind ] && pmap="rpcbind"
local x= fs=
for x in ${net_fs_list}; do