diff options
author | Olivier Poitrey <rs@nextdns.io> | 2019-11-05 12:57:29 -0800 |
---|---|---|
committer | Olivier Poitrey <rs@nextdns.io> | 2019-11-12 18:19:27 -0800 |
commit | 4d702a1cf2277288e87ca02ca976a9a437585501 (patch) | |
tree | d7de0378bbc6da0c77851294c3b2e47a3a4b4685 /applications/luci-app-nextdns/root | |
parent | 2ff7d246d669ecdf3536a9b3512b0b30030b3988 (diff) |
luci-app-nextdns: add luci integration for nextdns package
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
Diffstat (limited to 'applications/luci-app-nextdns/root')
-rwxr-xr-x | applications/luci-app-nextdns/root/etc/uci-defaults/60_luci-nextdns | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-nextdns/root/etc/uci-defaults/60_luci-nextdns b/applications/luci-app-nextdns/root/etc/uci-defaults/60_luci-nextdns new file mode 100755 index 000000000..95fc92280 --- /dev/null +++ b/applications/luci-app-nextdns/root/etc/uci-defaults/60_luci-nextdns @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@nextdns[-1] + add ucitrack nextdns + set ucitrack.@nextdns[-1].init=nextdns + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |