net-snmp: add system to trigger
authorChristian Korber <[email protected]>
Wed, 30 Apr 2025 09:28:16 +0000 (11:28 +0200)
committerStijn Tintel <[email protected]>
Wed, 30 Apr 2025 10:20:23 +0000 (13:20 +0300)
In a previous commit (0b12bee) hostname was added to
snmpd.init. To track changes in system, the init file
needs to add 'system' to the trigger.
Therefore it is added in this commit.

Fixes: 0b12bee66a89 ("net-snmp: set hostname as sysname")
Signed-off-by: Christian Korber <[email protected]>
net/net-snmp/Makefile
net/net-snmp/files/snmpd.init

index 6d4a55ed36a1b90f30def25a4b1424bd32001c97..f5109ddb5ef8c49ee43671e9e5373b3f583656d9 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=net-snmp
 PKG_VERSION:=5.9.4
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/net-snmp
index 0fbf575aa803ed318c15a6a8a41b96518e0e1251..b6a215cf783d245bea12151fd8598beec7ba94fd 100644 (file)
@@ -353,7 +353,7 @@ service_triggers(){
        procd_add_raw_trigger "interface.*" 2000 /etc/init.d/$name reload
        procd_close_trigger
 
-       procd_add_reload_trigger 'snmpd'
+       procd_add_reload_trigger 'snmpd' 'system'
 }
 
 service_started() {