summaryrefslogtreecommitdiff
path: root/etc/rc.d/nsd
blob: ac69bba0c582cb19ba57362e3db1b26ba8cfa234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# $OpenBSD: nsd,v 1.3 2012/01/16 17:51:42 camield Exp $

daemon="/usr/sbin/nsd"

. /etc/rc.d/rc.subr

rc_reload=NO

daemon_ctl="/usr/sbin/nsdc"

rc_stop() {
	${daemon_ctl} stop
}

rc_check() {
	${daemon_ctl} running
}

rc_cmd $1