From c2d1a45300d89b56f47776ac0a0628945b68d845 Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 25 Feb 2006 20:27:16 +0000 Subject: 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 --- package/maradns/files/maradns.init | 1 + package/maradns/files/mararc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'package/maradns/files') diff --git a/package/maradns/files/maradns.init b/package/maradns/files/maradns.init index d469f9e56..eec174eca 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 ee91cbc1e..e67ee9959 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" -- cgit v1.2.3