2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
2007-05-10 10:38:53 +00:00
|
|
|
START=50
|
2006-10-04 20:57:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2007-12-08 21:04:53 +00:00
|
|
|
|
|
|
|
reload() {
|
|
|
|
killall -HUP maradns
|
|
|
|
}
|