summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2024-01-08 19:47:34 -0700
committerGitHub <noreply@github.com>2024-01-08 19:47:34 -0700
commit08a312b4162f0ed3edf3e896ea97e693ecd59251 (patch)
tree3b0ba2ce07e450ca705372af1607fc85f2c9b40a
parent421e2c75a82a0b6bd35bfe51529b6ea0a160cebe (diff)
parentb37dec1de1d3e0798d3b696dbe085bf46f3d7c41 (diff)
Merge pull request #23077 from stangri/openwrt-23.05-adblock-fast
[23.05] adblock-fast: bugfix: pause command
-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 a5d137b39..f3cebf036 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 bb0971770..368de4e49 100755
--- a/net/adblock-fast/files/etc/init.d/adblock-fast
+++ b/net/adblock-fast/files/etc/init.d/adblock-fast
@@ -1716,7 +1716,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