4887751196
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
19 lines
324 B
Bash
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
|
|
}
|