[packages] add unbound (closes: #7022)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20880 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
14
net/unbound/files/unbound.init
Executable file
14
net/unbound/files/unbound.init
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
#Copyright (C) 2010 Ondrej Caletka <o.caletka@sh.cvut.cz>
|
||||
START=61
|
||||
|
||||
start () {
|
||||
unbound
|
||||
}
|
||||
|
||||
stop () {
|
||||
PIDFILE='/var/run/unbound.pid'
|
||||
if [ -f $PIDFILE ] ; then
|
||||
kill $(cat $PIDFILE)
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user