luci/applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy
Dirk Brenken 14dca2f3ee 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>
2017-08-16 21:49:20 +02:00

11 lines
218 B
Bash
Executable file

#!/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