aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorOpenWrt Developers <openwrt-devel@openwrt.org>2006-02-25 20:27:16 +0000
committerOpenWrt Developers <openwrt-devel@openwrt.org>2006-02-25 20:27:16 +0000
commitee7c7454db2bc1a48addf4be6feedbe0656e4291 (patch)
tree7822d803d6278b6ff35c4a5aed96c660cc8ae693 /package
parent56b03ec7f54a484486cdd5a37e563eb886795f85 (diff)
downloadupstream-ee7c7454db2bc1a48addf4be6feedbe0656e4291.tar.gz
upstream-ee7c7454db2bc1a48addf4be6feedbe0656e4291.tar.bz2
upstream-ee7c7454db2bc1a48addf4be6feedbe0656e4291.zip
fix mararc config file and maradns init script, closes #323
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/maradns/files/maradns.init1
-rw-r--r--package/maradns/files/mararc2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/maradns/files/maradns.init b/package/maradns/files/maradns.init
index d469f9e560..eec174eca3 100644
--- a/package/maradns/files/maradns.init
+++ b/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/package/maradns/files/mararc b/package/maradns/files/mararc
index ee91cbc1ef..e67ee99592 100644
--- a/package/maradns/files/mararc
+++ b/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"