summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-snmpd/root/usr/share
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-10-06 14:22:40 +0000
committerJo-Philipp Wich <jo@mein.io>2021-10-08 19:59:51 +0200
commit693bf9523ebe5a008baa2ff017e7e267a9e72ceb (patch)
tree17aa5fd9cccc6aa5c98ddd02d65d5fa98e4b5621 /applications/luci-app-snmpd/root/usr/share
parent5d10e3de385261d58944f051527e8cf588a9602d (diff)
app-snmpd: convert CBI to JS
Eliminates luci-compat, but no other changes. Signed-off-by: Karl Palsson <karlp@etactica.com> [add final newline, explicitly require `view` class, remove unused require, resync translations] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-snmpd/root/usr/share')
-rw-r--r--applications/luci-app-snmpd/root/usr/share/luci/menu.d/luci-app-snmpd.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-app-snmpd/root/usr/share/luci/menu.d/luci-app-snmpd.json b/applications/luci-app-snmpd/root/usr/share/luci/menu.d/luci-app-snmpd.json
index c30f35fa42..85850a218a 100644
--- a/applications/luci-app-snmpd/root/usr/share/luci/menu.d/luci-app-snmpd.json
+++ b/applications/luci-app-snmpd/root/usr/share/luci/menu.d/luci-app-snmpd.json
@@ -2,12 +2,12 @@
"admin/services/snmpd": {
"title": "SNMPD",
"action": {
- "type": "cbi",
- "path": "snmpd",
- "post": { "cbi.submit": true }
+ "type": "view",
+ "path": "snmpd/snmpd"
},
"depends": {
- "acl": [ "luci-app-snmpd" ]
+ "acl": [ "luci-app-snmpd" ],
+ "uci": { "snmpd": true }
}
}
}