7 # REQUIRE: ypserv ypbind
14 command="/usr/sbin/rpc.${name}"
15 start_precmd="yppasswdd_precmd"
18 rcvar="nis_yppasswdd_enable"
19 command_args="${nis_yppasswdd_flags}"
25 if ! checkyesno rpcbind_enable && \
26 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
28 force_depend rpcbind || return 1
30 if ! checkyesno nis_server_enable && \
31 ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1
33 force_depend ypserv || return 1
36 if [ -z "$_domain" ]; then
37 warn "NIS domainname(1) is not set."