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 $
5 # $DragonFly: src/etc/rc.d/ypbind,v 1.3 2004/01/27 00:55:43 rob Exp $
16 command="/usr/sbin/${name}"
17 start_precmd="ypbind_precmd"
20 rcvar="nis_client_enable"
21 command_args="${nis_client_flags}"
24 if ! checkyesno rpcbind_enable && \
25 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
27 force_depend rpcbind || return 1
30 if [ -z "$_domain" ]; then
31 warn "NIS domainname(1) is not set."