From 74d7d809a7048da384515eec5b432f5746286184 Mon Sep 17 00:00:00 2001 From: dougb Date: Thu, 20 Jun 2002 08:49:44 +0000 Subject: Anonymize the "portmap" program to get better compatibility with rpcbind in -current. Submitted by: Alexander Kabaev --- etc/rc.d/amd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc/rc.d/amd') diff --git a/etc/rc.d/amd b/etc/rc.d/amd index 20339c3..882f265 100755 --- a/etc/rc.d/amd +++ b/etc/rc.d/amd @@ -35,8 +35,10 @@ amd_precmd() if ! checkyesno nfs_client_enable ; then force_depend nfsclient || return 1 fi - if [ -z "`check_process rpcbind`" \ - -a ! `checkyesno portmap_enable` ]; then + + if ! checkyesno portmap_enable && \ + [ -z "`check_process ${portmap_program}`" ] + then force_depend rpcbind || return 1 fi -- cgit v1.1