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()
20 if ! checkyesno rpcbind_enable && \
21 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
23 force_depend rpcbind || return 1
25 if ! checkyesno nis_server_enable && \
26 ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1
28 force_depend ypserv || return 1
32 if [ -z "$_domain" ]; then
33 warn "NIS domainname(1) is not set."