diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-09-18 03:25:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 03:25:22 -0700 |
commit | 02b9962aef298f53d725c9d004ada694c004265a (patch) | |
tree | dbf2bde5d2fdeee7b8319b48c59edfc54ac0f706 | |
parent | d9ccbbbc1b080ce3482907a0e6faf6ee0b9d2e69 (diff) | |
parent | 3bd11c3751880ead35b0f1735e24ec074e02a6a0 (diff) |
Merge pull request #12123 from vKnmnn/master
mini_snmpd: Add sysDescr option.
-rw-r--r-- | net/mini_snmpd/Makefile | 2 | ||||
-rw-r--r-- | net/mini_snmpd/files/mini_snmpd.config | 1 | ||||
-rw-r--r-- | net/mini_snmpd/files/mini_snmpd.init | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/net/mini_snmpd/Makefile b/net/mini_snmpd/Makefile index a40ba7e95..69f33b779 100644 --- a/net/mini_snmpd/Makefile +++ b/net/mini_snmpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mini_snmpd PKG_VERSION:=1.4-rc1 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_MAINTAINER:=Marcin Jurkowski <marcin1j@gmail.com> PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING diff --git a/net/mini_snmpd/files/mini_snmpd.config b/net/mini_snmpd/files/mini_snmpd.config index c06f7b190..e00685ea9 100644 --- a/net/mini_snmpd/files/mini_snmpd.config +++ b/net/mini_snmpd/files/mini_snmpd.config @@ -8,6 +8,7 @@ config mini_snmpd 'default' # Turn on community authentication (snmp agent must use community name) option auth 0 option community 'public' + option description 'OpenWRT' option contact 'OpenWRT router <openwrt@openwrt.org>' option location 'Undisclosed' # to listen on all interfaces you need to set option listen_interface '' diff --git a/net/mini_snmpd/files/mini_snmpd.init b/net/mini_snmpd/files/mini_snmpd.init index 96dc5ab9e..d0b1e204e 100644 --- a/net/mini_snmpd/files/mini_snmpd.init +++ b/net/mini_snmpd/files/mini_snmpd.init @@ -36,6 +36,7 @@ mini_snmpd_validation="enabled:bool:0 \ auth:bool:1 \ community:rangelength(1,32):public \ contact:maxlength(255) \ + description:maxlength(255) \ location:maxlength(255) \ listen_interface:uciname \ udp_port:port \ @@ -212,6 +213,7 @@ start_instance() { append_arg "-c" "$community" append_arg "-L" "$location" append_arg "-C" "$contact" + append_arg "-D" "$description" append_arg "-p" $udp_port append_arg "-P" $tcp_port append_arg "-V" "$vendor_oid" |