1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

SNMPd basic interface

This commit is contained in:
Ycarus 2018-11-08 19:19:30 +01:00
parent a080a5477c
commit 49e0dbf9a0
4 changed files with 178 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
if [ "$(uci -q get snmpd.general.network)" = "" ]; then
uci -q batch <<-EOF >/dev/null
add_list snmpd.general.network=lan
set snmpd.system.sysName="OpenMPTCProuter"
EOF
fi
exit 0