packages/net/unbound/files/unbound.init
nico 3af9a8a492 [packages] add unbound (closes: #7022)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 15:34:54 +00:00

15 lines
214 B
Bash
Executable File

#!/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
}