summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-snmpd/luasrc/controller
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2018-09-20 10:36:34 +0000
committerKarl Palsson <karlp@etactica.com>2018-09-20 10:36:34 +0000
commit318e4557553ceacbbb86fb575835f33a647597fb (patch)
treea85a08bc5ef1ed08060c056ec5d50bb26b115606 /applications/luci-app-snmpd/luasrc/controller
parentbe24b7b480d751882f7ef564acf5c370cfc00efa (diff)
luci-app-snmpd: Basic net-snmpd config options
Imported from https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-snmpd Only provides configuration of basic authentication and system level options, not even close to the entire slew of options that net-snmp supports, but the basics are still helpful, and a base for future work. Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'applications/luci-app-snmpd/luasrc/controller')
-rw-r--r--applications/luci-app-snmpd/luasrc/controller/snmpd.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-app-snmpd/luasrc/controller/snmpd.lua b/applications/luci-app-snmpd/luasrc/controller/snmpd.lua
new file mode 100644
index 0000000000..71020747f0
--- /dev/null
+++ b/applications/luci-app-snmpd/luasrc/controller/snmpd.lua
@@ -0,0 +1,5 @@
+module("luci.controller.snmpd", package.seeall)
+
+function index()
+ entry({"admin", "services", "snmpd"}, cbi("snmpd"), "SNMPD")
+end