aboutsummaryrefslogtreecommitdiffstats
path: root/package/bind/files/named.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-09-14 10:45:27 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-09-14 10:45:27 +0000
commite7f8acce0cd7853a6fa81601e300d1d1728f6008 (patch)
treeaff50786705f5cde2d63f9ce56db2dcd2b18e395 /package/bind/files/named.init
parent9db9f5061fb4d778901428bf6f720d450d36a63c (diff)
downloadupstream-e7f8acce0cd7853a6fa81601e300d1d1728f6008.tar.gz
upstream-e7f8acce0cd7853a6fa81601e300d1d1728f6008.tar.bz2
upstream-e7f8acce0cd7853a6fa81601e300d1d1728f6008.zip
split into bind-server and bind-client package, add startup script and example named.conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1918 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/bind/files/named.init')
-rwxr-xr-xpackage/bind/files/named.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/bind/files/named.init b/package/bind/files/named.init
new file mode 100755
index 0000000000..97860b3b25
--- /dev/null
+++ b/package/bind/files/named.init
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -f /etc/bind/named.conf ]; then
+ named -c /etc/bind/named.conf
+fi