6cbd96ac03506637d153aa4955461766ac80a992
[openwrt/svn-archive/archive.git] / net / bind / files / named.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 start() {
5 if [ -f /etc/bind/named.conf ]; then
6 named -c /etc/bind/named.conf
7 fi
8 }
9
10 stop() {
11 killall named
12 }