diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2019-11-16 11:29:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-16 11:29:50 +0200 |
commit | 2663c3384c24e6006919984a58c7153d01c05813 (patch) | |
tree | 8fef4b383a6606d0d2bcd7950e1ad103ecccc1a1 /applications/luci-app-nextdns/root | |
parent | 8b3325f8e757e1db50f3aef803a010da6f68da3a (diff) | |
parent | 4d702a1cf2277288e87ca02ca976a9a437585501 (diff) |
Merge pull request #3291 from rs/feature_nextdns
luci-app-nextdns: add luci integration for nextdns package
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 0000000000..95fc92280e --- /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 |