aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/dnsd.initd
blob: e11a73d1d6be10e37e392d3d862f6aed3913151b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/runscript

depend() {
	need net
	after firewall
}

start() {
	ebegin "Starting dnsd"
	start-stop-daemon --start --exec /usr/sbin/dnsd -- -d $DNSD_OPTS
	eend $?
}

stop () {
	ebegin "Stopping dnsd"
	start-stop-daemon --stop --exec /usr/sbin/dnsd
	eend $?
}