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:
parent
a080a5477c
commit
49e0dbf9a0
4 changed files with 178 additions and 0 deletions
8
luci-app-snmpd/luasrc/controller/snmpd.lua
Normal file
8
luci-app-snmpd/luasrc/controller/snmpd.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local ucic = luci.model.uci.cursor()
|
||||
local dt = require "luci.cbi.datatypes"
|
||||
module("luci.controller.snmpd", package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin", "network", "snmpd"}, alias("admin", "network", "snmpd", "index"), _("SNMPD"))
|
||||
entry({"admin", "network", "snmpd", "index"}, cbi("snmpd"))
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue