diff options
author | Oliver Ertl <oliver@ertl-net.net> | 2006-02-25 20:27:16 +0000 |
---|---|---|
committer | Oliver Ertl <oliver@ertl-net.net> | 2006-02-25 20:27:16 +0000 |
commit | 0dc257769247d80e6a36d2b508c61ba547dc771e (patch) | |
tree | 84d5da0ad11f094993d1ddf119866d66198cb591 | |
parent | 1c9302c9a9b94512eaa6f653e66ad1577eed0205 (diff) | |
download | mtk-20170518-0dc257769247d80e6a36d2b508c61ba547dc771e.zip mtk-20170518-0dc257769247d80e6a36d2b508c61ba547dc771e.tar.gz mtk-20170518-0dc257769247d80e6a36d2b508c61ba547dc771e.tar.bz2 |
fix mararc config file and maradns init script, closes #323
SVN-Revision: 3272
-rw-r--r-- | openwrt/package/maradns/files/maradns.init | 1 | ||||
-rw-r--r-- | openwrt/package/maradns/files/mararc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/package/maradns/files/maradns.init b/openwrt/package/maradns/files/maradns.init index d469f9e..eec174e 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 ee91cbc..e67ee99 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" |