blob: d28b8d79d5c0fc3c885cf703c9cdd73d8db18c08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/ksh
#
# $OpenBSD: ypbind,v 1.9 2018/01/11 21:09:26 rpe Exp $
daemon="/usr/sbin/ypbind"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_pre() {
[[ -n $(domainname) ]]
}
rc_post() {
rm -f /var/run/ypbind.lock
}
rc_cmd $1
|