Browse Source
nlbwmon: add procd reload trigger for nlbwmon config
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
lilik-openwrt-22.03
Richard Yu
5 years ago
No known key found for this signature in database
GPG Key ID: D16286AFD4E1FFF3
2 changed files with
2 additions and
2 deletions
-
net/nlbwmon/Makefile
-
net/nlbwmon/files/nlbwmon.init
|
@ -1,7 +1,7 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=nlbwmon |
|
|
PKG_NAME:=nlbwmon |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_URL:=https://github.com/jow-/nlbwmon.git |
|
|
PKG_SOURCE_URL:=https://github.com/jow-/nlbwmon.git |
|
|
|
@ -99,7 +99,7 @@ add_interface_trigger() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
service_triggers() { |
|
|
service_triggers() { |
|
|
procd_add_reload_trigger "dhcp" "system" |
|
|
|
|
|
|
|
|
procd_add_reload_trigger "dhcp" "system" "nlbwmon" |
|
|
|
|
|
|
|
|
config_load dhcp |
|
|
config_load dhcp |
|
|
config_foreach add_interface_trigger dhcp |
|
|
config_foreach add_interface_trigger dhcp |
|
|