summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2024-01-07 23:07:34 +0000
committerStan Grishin <stangri@melmac.ca>2024-01-07 23:07:42 +0000
commitdfeeabbebf7fa337f02fa24d40a488e2acfccbbb (patch)
tree8eb5200a423a51597b51df02280bb1321eac7292
parent6c9cd775962a3165b70ab7722ba1c6a98b3b5f15 (diff)
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 <stangri@melmac.ca>
-rw-r--r--net/adblock-fast/Makefile2
-rwxr-xr-xnet/adblock-fast/files/etc/init.d/adblock-fast2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/adblock-fast/Makefile b/net/adblock-fast/Makefile
index 23f6568a1..50de95d95 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 <stangri@melmac.ca>
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 96ec21ddb..2ec53ec28 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