summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy
blob: ec4da17c9a343a92b227c841a96342f71c659da4 (plain)
1
2
3
4
5
6
7
8
9
10
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