summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https_dns_proxy/root
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-09-04 16:49:43 +0200
committerGitHub <noreply@github.com>2018-09-04 16:49:43 +0200
commitf6dd8761fc3236ae09ef4da2993458424024c357 (patch)
tree33f1ae885ece9198c476fb4b8e7a308ba57e4bb0 /applications/luci-app-https_dns_proxy/root
parent0208b957a759d3c7810fd37bfdba0662d17dfb05 (diff)
parent89110b1757f8270e127cbd773afa13db41898418 (diff)
Merge pull request #2110 from stangri/luci-app-https_dns_proxy
luci-app-https_dns_proxy: initial commit
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