mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 12:34:35 +04:00
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>
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=adblock-fast
|
PKG_NAME:=adblock-fast
|
||||||
PKG_VERSION:=1.1.1
|
PKG_VERSION:=1.1.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1728,7 +1728,7 @@ adb_start() {
|
|||||||
action="$(config_cache get 'trigger_service')"
|
action="$(config_cache get 'trigger_service')"
|
||||||
fw4_restart_flag="$(config_cache get 'trigger_fw4')"
|
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
|
if cache 'test_gzip' || cache 'test'; then
|
||||||
action='restore'
|
action='restore'
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user