nlbwmon: add procd reload trigger for nlbwmon config
authorRichard Yu <yurichard3839@gmail.com>
Mon, 9 Dec 2019 12:23:29 +0000 (20:23 +0800)
committerJo-Philipp Wich <jo@mein.io>
Fri, 10 Apr 2020 22:31:18 +0000 (00:31 +0200)
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
(cherry picked from commit d5517583104c8521d978a911bff921588ba0e988)

net/nlbwmon/Makefile
net/nlbwmon/files/nlbwmon.init

index a13c4aae42a52b5a1800bf451221ef3b84bc89bf..0778d7bb40d64744c9b854730bde9b975785d101 100644 (file)
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nlbwmon
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/jow-/nlbwmon.git
index 15ab5a11879295a55bd593fef8f4530b7100b682..7d8a655cbda62e76a305ff815ca3ec9f0eabaa50 100755 (executable)
@@ -99,7 +99,7 @@ add_interface_trigger() {
 }
 
 service_triggers() {
-       procd_add_reload_trigger "dhcp" "system"
+       procd_add_reload_trigger "dhcp" "system" "nlbwmon"
 
        config_load dhcp
        config_foreach add_interface_trigger dhcp