summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-08-17 20:01:58 +0300
committerGitHub <noreply@github.com>2017-08-17 20:01:58 +0300
commit5d35777a34d3fda12d7947047351a5151107771e (patch)
tree9911cc8960979429f020d5087a9bddd81fe926e5 /applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults
parent209deb50a41664c4a3a04b92d9d36b935792e477 (diff)
parent14dca2f3eef863c03b87bf21dc5787a524d84b62 (diff)
Merge pull request #1309 from dibdot/dnscrypt-proxy
luci-app-dnscrypt-proxy: new package
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