12 rcvar="nis_ypset_enable"
13 command="/usr/sbin/${name}"
14 start_precmd="ypset_precmd"
16 command_args="${nis_ypset_flags}"
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_client_enable && \
26 ! /etc/rc.d/ypbind forcestatus 1>/dev/null 2>&1
28 force_depend ypbind || return 1
32 if [ -z "$_domain" ]; then
33 warn "NIS domainname(1) is not set."