mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add some snmp tools
This commit is contained in:
parent
eadaa8fc5a
commit
28e29d62ee
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
LUCI_TITLE:=LuCI SNMPD Interface
|
LUCI_TITLE:=LuCI SNMPD Interface
|
||||||
LUCI_DEPENDS:=+snmpd
|
LUCI_DEPENDS:=+snmpd +snmptrapd +snmp-utils +snmp-mibs
|
||||||
|
|
||||||
PKG_LICENSE:=GPLv3
|
PKG_LICENSE:=GPLv3
|
||||||
|
|
||||||
|
|
|
@ -344,5 +344,6 @@ service_triggers(){
|
||||||
}
|
}
|
||||||
|
|
||||||
service_started() {
|
service_started() {
|
||||||
|
[ "$snmp_enabled" -eq 0 ] && return
|
||||||
procd_set_config_changed firewall
|
procd_set_config_changed firewall
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue