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