summaryrefslogtreecommitdiffstats
path: root/openwrt/package
diff options
context:
space:
mode:
authorolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-25 20:27:16 +0000
committerolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-25 20:27:16 +0000
commitfd745cd1ebe1c897241044a27ae31a690fbe9b66 (patch)
treed3616e066154c4335af3eecaf247d7d17e0b5ce8 /openwrt/package
parentfeab1d97643b297d3b1231c48edbb10a832681b5 (diff)
fix mararc config file and maradns init script, closes #323
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/maradns/files/maradns.init1
-rw-r--r--openwrt/package/maradns/files/mararc2
2 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/package/maradns/files/maradns.init b/openwrt/package/maradns/files/maradns.init
index d469f9e56..eec174eca 100644
--- a/openwrt/package/maradns/files/maradns.init
+++ b/openwrt/package/maradns/files/maradns.init
@@ -1,2 +1,3 @@
#!/bin/sh
+[ -d /etc/maradns ] || mkdir -p /etc/maradns
/usr/sbin/maradns >/dev/null 2>&1 &
diff --git a/openwrt/package/maradns/files/mararc b/openwrt/package/maradns/files/mararc
index ee91cbc1e..e67ee9959 100644
--- a/openwrt/package/maradns/files/mararc
+++ b/openwrt/package/maradns/files/mararc
@@ -1,7 +1,7 @@
hide_disclaimer="YES"
chroot_dir="/etc/maradns"
bind_address="0.0.0.0"
-run_as_root=1
+maradns_uid=65534
maxprocs=10
random_seed_file="/dev/urandom"
recursive_acl="192.168.1.0/24"