diff options
author | Karl Palsson <karlp@etactica.com> | 2021-10-06 14:22:40 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 19:59:51 +0200 |
commit | 693bf9523ebe5a008baa2ff017e7e267a9e72ceb (patch) | |
tree | 17aa5fd9cccc6aa5c98ddd02d65d5fa98e4b5621 /applications/luci-app-snmpd/root/usr/share | |
parent | 5d10e3de385261d58944f051527e8cf588a9602d (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.json | 8 |
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 } } } } |