summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https_dns_proxy/root
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2018-08-23 15:11:49 -0700
committerStan Grishin <stangri@melmac.net>2018-09-02 18:49:54 -0700
commit89110b1757f8270e127cbd773afa13db41898418 (patch)
treebcc7d37a177b1cd9b592ee96138599c1978cab51 /applications/luci-app-https_dns_proxy/root
parent875d80a07e83b6e0f0d79f080b63bd5b8ea45908 (diff)
luci-app-https_dns_proxy: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-https_dns_proxy/root')
-rw-r--r--applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy10
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy b/applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy
new file mode 100644
index 0000000000..7800af701e
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy
@@ -0,0 +1,10 @@
+#!/bin/sh
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@https_dns_proxy[-1]
+ add ucitrack https_dns_proxy
+ set ucitrack.@template[-1].init=https_dns_proxy
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0