|
@ -1,13 +1,11 @@ |
|
|
#!/bin/sh |
|
|
#!/bin/sh |
|
|
# |
|
|
# |
|
|
# $OpenBSD: ypserv,v 1.3 2011/07/08 02:15:34 robert Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: ypserv,v 1.4 2011/10/06 06:47:50 ajacoutot Exp $ |
|
|
|
|
|
|
|
|
daemon="/usr/sbin/ypserv" |
|
|
daemon="/usr/sbin/ypserv" |
|
|
|
|
|
|
|
|
. /etc/rc.d/rc.subr |
|
|
. /etc/rc.d/rc.subr |
|
|
|
|
|
|
|
|
rc_reload=NO |
|
|
|
|
|
|
|
|
|
|
|
rc_pre() { |
|
|
rc_pre() { |
|
|
[ X"`domainname`" != X"" -a -d /var/yp/`domainname` ] |
|
|
[ X"`domainname`" != X"" -a -d /var/yp/`domainname` ] |
|
|
} |
|
|
} |
|
|