3 # $NetBSD: yppasswdd,v 1.6 2002/03/22 04:34:01 thorpej Exp $
8 # 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}"
23 if ! checkyesno rpcbind_enable && \
24 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
26 force_depend rpcbind || return 1
28 if ! checkyesno nis_server_enable && \
29 ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1
31 force_depend ypserv || return 1
34 if [ -z "$_domain" ]; then
35 warn "NIS domainname(1) is not set."