summaryrefslogtreecommitdiff
path: root/etc/rc.d/ypbind
blob: fb72f0b4e4ed603ac10f9f8f27ca294cb7defbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# $OpenBSD: ypbind,v 1.1 2011/07/07 01:52:58 robert Exp $

daemon="/usr/sbin/ypbind"

. /etc/rc.d/rc.subr

rc_bg=YES
rc_reload=NO

rc_pre() {
	[ X`domainname` != X"" -a -d /var/yp/binding ] || \
		return 1
}

rc_cmd $1