3af9a8a492
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20880 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
214 B
Bash
Executable File
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
|
|
}
|