7 # REQUIRE: rpcbind ypserv
12 rcvar="rpc_ypupdated_enable"
13 command="/usr/sbin/rpc.${name}"
14 start_precmd="rpc_ypupdated_precmd"
16 rpc_ypupdated_precmd()
18 if ! checkyesno rpcbind_enable && \
19 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
21 force_depend rpcbind || return 1
23 if ! checkyesno nis_server_enable && \
24 ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1
26 force_depend ypserv || return 1
30 if [ -z "$_domain" ]; then
31 warn "NIS domainname(1) is not set."