simple-adblock: remove unnecessary procd_add_reload_interface_trigger
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit ef067f6304
)
This commit is contained in:
parent
6af202f917
commit
45cdc86462
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=simple-adblock
|
||||
PKG_VERSION:=1.9.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
|
||||
|
|
|
@ -1320,7 +1320,6 @@ status_service() { load_validate_config 'config' adb_status "''"; }
|
|||
service_triggers() {
|
||||
procd_open_trigger
|
||||
procd_add_config_trigger 'config.change' "${packageName}" /etc/init.d/${packageName} reload
|
||||
procd_add_reload_interface_trigger 'wan'
|
||||
procd_add_interface_trigger 'interface.*.up' 'wan' /etc/init.d/${packageName} reload
|
||||
procd_close_trigger
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue