netsnmp: add global enabled config option

Add enabled config option in the global uci section; it allows to put into
place the snmpd config but not yet start the netsnmp daemon.
If config option is unset; netsnmp daemon will be started as before.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
Hans Dedecker
2017-07-10 13:48:24 +02:00
parent eac93dcec8
commit 5878373882
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -116,4 +116,5 @@ config engineid
# option trapsess '-v 3 -e 0x80001f88808c18d3f7b0000 -u trapuser -a MD5 -A administrator -l authPriv -x DES -X rootpasswd udp:127.0.0.1:162'
config snmpd general
option enabled '1'
# list network 'wan'