From dfeeabbebf7fa337f02fa24d40a488e2acfccbbb Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sun, 7 Jan 2024 23:07:34 +0000 Subject: [PATCH] adblock-fast: bugfix: pause command * the pause command used to incorrectly cause block-lists reload, this has been fixed in this version Signed-off-by: Stan Grishin --- net/adblock-fast/Makefile | 2 +- net/adblock-fast/files/etc/init.d/adblock-fast | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/adblock-fast/Makefile b/net/adblock-fast/Makefile index 23f6568a12..50de95d95b 100644 --- a/net/adblock-fast/Makefile +++ b/net/adblock-fast/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock-fast PKG_VERSION:=1.1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Stan Grishin PKG_LICENSE:=GPL-3.0-or-later diff --git a/net/adblock-fast/files/etc/init.d/adblock-fast b/net/adblock-fast/files/etc/init.d/adblock-fast index 96ec21ddb7..2ec53ec287 100755 --- a/net/adblock-fast/files/etc/init.d/adblock-fast +++ b/net/adblock-fast/files/etc/init.d/adblock-fast @@ -1728,7 +1728,7 @@ adb_start() { action="$(config_cache get 'trigger_service')" fw4_restart_flag="$(config_cache get 'trigger_fw4')" - if [ "$action" = 'on_boot' ] || [ "$param" = 'on_boot' ]; then + if [ "$action" = 'on_boot' ] || [ "$param" = 'on_boot' ] || [ "$param" = 'on_pause' ]; then if cache 'test_gzip' || cache 'test'; then action='restore' else -- 2.30.2