summaryrefslogtreecommitdiff
path: root/etc/rc.d/ypbind
blob: 32bc81baff9c62ac549a2aa02a7b45b5ee7e1a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# $OpenBSD: ypbind,v 1.5 2015/10/18 03:51:11 deraadt Exp $

daemon="/usr/sbin/ypbind"

. /etc/rc.d/rc.subr

rc_bg=YES
rc_reload=NO

rc_pre() {
	[ X"`domainname`" != X"" ]
}

rc_post() {
	rm -f /var/run/ypbind.lock
}

rc_cmd $1