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

depend() {
	need net
}

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 $?
}