From 28e29d62eec4a2c177c4b5feef515c25ff91f2a8 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 8 Oct 2020 11:03:54 +0200 Subject: [PATCH] Add some snmp tools --- luci-app-snmpd/Makefile | 2 +- luci-app-snmpd/root/etc/init.d/snmpd | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/luci-app-snmpd/Makefile b/luci-app-snmpd/Makefile index d9c583019..12f22abd3 100644 --- a/luci-app-snmpd/Makefile +++ b/luci-app-snmpd/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI SNMPD Interface -LUCI_DEPENDS:=+snmpd +LUCI_DEPENDS:=+snmpd +snmptrapd +snmp-utils +snmp-mibs PKG_LICENSE:=GPLv3 diff --git a/luci-app-snmpd/root/etc/init.d/snmpd b/luci-app-snmpd/root/etc/init.d/snmpd index 238a0f34d..39fc71445 100755 --- a/luci-app-snmpd/root/etc/init.d/snmpd +++ b/luci-app-snmpd/root/etc/init.d/snmpd @@ -344,5 +344,6 @@ service_triggers(){ } service_started() { + [ "$snmp_enabled" -eq 0 ] && return procd_set_config_changed firewall }