From: Oliver Ertl Date: Sat, 25 Feb 2006 20:27:16 +0000 (+0000) Subject: fix mararc config file and maradns init script, closes #323 X-Git-Tag: whiterussian_rc5~110 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c4c1df2f409156c6f9be23a48678f2dafc1a6ca2;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix mararc config file and maradns init script, closes #323 SVN-Revision: 3272 --- diff --git a/openwrt/package/maradns/files/maradns.init b/openwrt/package/maradns/files/maradns.init index d469f9e560..eec174eca3 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 ee91cbc1ef..e67ee99592 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"