mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
adblock: release 1.1.0
* support more router modes, as long as the firewall and the DNS server are enabled * new source sites can be added & changed via awk ruleset in uci config * source domain count, last update time & overall count will be stored in uci config * added 3 new source sites: ransomware tracker rolist/easylist winspy * switch to minimal inline base64 encoded 1×1 GIF for pixel server (separate png image no longer needed) * simplified uci parser * source download & domain sort optimization * add whitelist parser with wildcard support * reduced code size & various cleanups * updated documentation Signed-off-by: Dirk Brenken <openwrt@brenken.org>
This commit is contained in:
@@ -53,6 +53,10 @@ stop()
|
||||
rc=${?}
|
||||
if [ $((rc)) -eq 0 ] && [ -n "${rm_done}" ]
|
||||
then
|
||||
. "/usr/bin/adblock-helper.sh"
|
||||
uci_remove "adblock" "global" "adb_overall_count"
|
||||
f_rmconfig "${rm_done}"
|
||||
uci_commit "adblock"
|
||||
/etc/init.d/dnsmasq restart
|
||||
/etc/init.d/firewall restart
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user