3 # $NetBSD: ypserv,v 1.5 2000/09/19 13:04:39 lukem Exp $
13 rcvar="nis_server_enable"
14 command="/usr/sbin/${name}"
15 start_precmd="ypserv_prestart"
18 command_args="${nis_server_flags}"
22 if ! checkyesno rpcbind_enable && \
23 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
25 force_depend rpcbind || return 1
28 if [ -z "$_domain" ]; then
29 warn "NIS domainname(1) is not set."
32 if [ ! -d /var/yp/$_domain/. ]; then
33 warn "/var/yp/$_domain is not a directory."