packages/net/maradns/files/maradns.init
nbd 4887751196 Add reload for maradns init script. Closes #2819
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@9681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-08 21:04:53 +00:00

19 lines
324 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
start() {
[ -d /etc/maradns ] || mkdir -p /etc/maradns
[ -d /etc/maradns/logger ] || mkdir -p /etc/maradns/logger
duende /usr/sbin/maradns
duende /usr/sbin/zoneserver
}
stop() {
killall duende maradns zoneserver
}
reload() {
killall -HUP maradns
}