3 # $NetBSD: ypbind,v 1.5 2002/03/22 04:34:01 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/ypbind,v 1.6 2003/07/09 03:21:03 mtm Exp $
14 rcvar
="nis_client_enable"
15 command="/usr/sbin/${name}"
16 command_args
="${nis_client_flags}"
17 start_precmd
="ypbind_precmd"
21 if ! checkyesno rpcbind_enable
&& \
22 ! /etc
/rc.d
/rpcbind forcestatus
>/dev
/null
2>&1
24 force_depend rpcbind ||
return 1
28 if [ -z "$_domain" ]; then
29 warn
"NIS domainname(1) is not set."