diff options
Diffstat (limited to 'applications/luci-app-adblock/root')
-rwxr-xr-x | applications/luci-app-adblock/root/etc/uci-defaults/40_luci-adblock | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-adblock/root/etc/uci-defaults/40_luci-adblock b/applications/luci-app-adblock/root/etc/uci-defaults/40_luci-adblock new file mode 100755 index 000000000..1f7fb1c0f --- /dev/null +++ b/applications/luci-app-adblock/root/etc/uci-defaults/40_luci-adblock @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@adblock[-1] + add ucitrack adblock + set ucitrack.@adblock[-1].init=adblock + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |