summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2017-08-16 21:49:20 +0200
committerDirk Brenken <dev@brenken.org>2017-08-16 21:49:20 +0200
commit14dca2f3eef863c03b87bf21dc5787a524d84b62 (patch)
tree10750d3a16d8125b375393bbf445c69209afab22 /applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults
parentf450c0403d4aa2d1e5cbcb262315121b130990e9 (diff)
luci-app-dnscrypt-proxy: new package
to ease the dnscrypt-proxy configuration I've build this package, main features: * full resolver list handling, incl. list refresh and simple resolver selection per instance * trigger support * support the following (conditional) options: * resolvers_list * ephemeral_keys * blacklist * block_ipv6 * local_cache * query_log_file Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults')
-rwxr-xr-xapplications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy b/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy
new file mode 100755
index 0000000000..ec4da17c9a
--- /dev/null
+++ b/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@dnscrypt-proxy[-1]
+ add ucitrack dnscrypt-proxy
+ set ucitrack.@dnscrypt-proxy[-1].init=dnscrypt-proxy
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0