[packages] add unbound (closes: #7022)
[openwrt/svn-archive/archive.git] / net / unbound / files / unbound.init
1 #!/bin/sh /etc/rc.common
2 #Copyright (C) 2010 Ondrej Caletka <o.caletka@sh.cvut.cz>
3 START=61
4
5 start () {
6 unbound
7 }
8
9 stop () {
10 PIDFILE='/var/run/unbound.pid'
11 if [ -f $PIDFILE ] ; then
12 kill $(cat $PIDFILE)
13 fi
14 }