summaryrefslogtreecommitdiff
path: root/etc/rc.d/ypbind
blob: 7197e895869b50fd601fc7dc3b933d69688b3386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# $OpenBSD: ypbind,v 1.2 2011/07/07 18:23:17 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