yppasswdd revision 1.1
1#!/bin/sh 2# 3# $NetBSD: yppasswdd,v 1.1 2000/03/10 11:53:23 lukem Exp $ 4# 5 6# PROVIDE: yppasswdd 7# REQUIRE: ypserv ypbind 8 9. /etc/rc.subr 10. /etc/rc.conf 11 12name="yppasswdd" 13command="/usr/sbin/rpc.${name}" 14required_vars="portmap ypserv" 15start_precmd="yppasswdd_precmd" 16 17yppasswdd_precmd() 18{ 19 if [ -z "$domainname" ]; then 20 warn "\$domainname is not set; ${name} not started" 21 return 1 22 fi 23} 24 25run_rc_command "$1" 26