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