summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountd
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-06-21 19:50:01 +0000
committerdougb <dougb@FreeBSD.org>2002-06-21 19:50:01 +0000
commita27bc1f2cf4ac3958a70ed19346f19627c2fa983 (patch)
treefc1a70ccf05ba20f51d9fda8bffc6142ca7368a1 /etc/rc.d/mountd
parent38d6ab03fa6aaf7647cecabd364e9aaa07205359 (diff)
downloadFreeBSD-src-a27bc1f2cf4ac3958a70ed19346f19627c2fa983.zip
FreeBSD-src-a27bc1f2cf4ac3958a70ed19346f19627c2fa983.tar.gz
Hone the rpcbind dependency checking.
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Diffstat (limited to 'etc/rc.d/mountd')
-rwxr-xr-xetc/rc.d/mountd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/mountd b/etc/rc.d/mountd
index 612365f..0e56995 100755
--- a/etc/rc.d/mountd
+++ b/etc/rc.d/mountd
@@ -35,7 +35,7 @@ mountd_precmd()
fi
if ! checkyesno portmap_enable && \
- [ -z "`check_process ${portmap_program}`" ]
+ ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
then
force_depend rpcbind || return 1
fi
OpenPOWER on IntegriCloud