fix mararc config file and maradns init script, closes #323
authorOliver Ertl <oliver@ertl-net.net>
Sat, 25 Feb 2006 20:27:16 +0000 (20:27 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Sat, 25 Feb 2006 20:27:16 +0000 (20:27 +0000)
SVN-Revision: 3272

openwrt/package/maradns/files/maradns.init
openwrt/package/maradns/files/mararc

index d469f9e56077449ae4ee46e9f6269cebde39be7d..eec174eca325e162494a1b5cf0777cdc74ab5d1e 100644 (file)
@@ -1,2 +1,3 @@
 #!/bin/sh
+[ -d /etc/maradns ] || mkdir -p /etc/maradns
 /usr/sbin/maradns >/dev/null 2>&1 &
index ee91cbc1ef333957a267570b4ef7373a80d5052b..e67ee995929430d1859c4032509ebbc4a539604b 100644 (file)
@@ -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"