aboutsummaryrefslogtreecommitdiff
path: root/net/mini_snmpd/Makefile
diff options
context:
space:
mode:
authorMarcin Jurkowski <marcin1j@gmail.com>2016-10-15 20:52:21 +0200
committerMarcin Jurkowski <marcin1j@gmail.com>2017-04-05 11:24:40 +0200
commitbddaabafbfdbc054e0096685b57ad72cb08bdd50 (patch)
tree5b44fe4a4cfc82efce252e0db503fac616c573ba /net/mini_snmpd/Makefile
parent0638d6abe7ba95de67951b9bfbd63f54352d4d06 (diff)
mini_snmpd: fix bugs and automatically reload daemon if one of monitored interfaces goes up/down
This commit fixes bugs, cleans and enhances init.d script: 1. The first disk and interface was passed to mini_snmpd with extra leading space. This bug caused the first monitored disk and interface to be inaccessible by SNMP daemon. 2. Automatically reload deamon if one of monitored interfaces goes up/down. Since mini_snmpd reads interface list only at startup, it won't detect any interface which appeared after the daemon was started. Fortunately we can use procd interface triggers to automatically restart the daemon. 3. Replace hand-written direct ubus calls and json data filtering with standard network functions. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Diffstat (limited to 'net/mini_snmpd/Makefile')
-rw-r--r--net/mini_snmpd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mini_snmpd/Makefile b/net/mini_snmpd/Makefile
index f86539a0c..34463ce72 100644
--- a/net/mini_snmpd/Makefile
+++ b/net/mini_snmpd/Makefile
@@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mini_snmpd
PKG_VERSION:=1.4-rc1
-PKG_RELEASE:=2
-PKG_MAINTAINER:=Luke McKee <hojuruku@gmail.com>
+PKG_RELEASE:=3
+PKG_MAINTAINER:=Marcin Jurkowski <marcin1j@gmail.com>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING