diff options
-rwxr-xr-x | etc/rc.d/ypbind | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/rc.d/ypbind b/etc/rc.d/ypbind index c34101e..0646e4c 100755 --- a/etc/rc.d/ypbind +++ b/etc/rc.d/ypbind @@ -27,6 +27,16 @@ esac ypbind_precmd() { + case ${OSTYPE} in + FreeBSD) + if ! checkyesno rpcbind_enable && \ + ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1 + then + force_depend rpcbind || return 1 + fi + ;; + esac + _domain=`domainname` if [ -z "$_domain" ]; then warn "domainname(1) is not set." |