diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 20:02:54 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-08 20:03:06 +0200 |
commit | 23babd7cd42c88fdc185a68cff7882b43e7ef9af (patch) | |
tree | b2f7b9b077564ee195cd105a7029ad4780391bdd /applications/luci-app-snmpd/root/usr | |
parent | 693bf9523ebe5a008baa2ff017e7e267a9e72ceb (diff) |
Revert "app-snmpd: convert CBI to JS"
This reverts commit 693bf9523ebe5a008baa2ff017e7e267a9e72ceb.
The commit did not contain the mentioned amendmends.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-snmpd/root/usr')
-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 85850a218a..c30f35fa42 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": "view", - "path": "snmpd/snmpd" + "type": "cbi", + "path": "snmpd", + "post": { "cbi.submit": true } }, "depends": { - "acl": [ "luci-app-snmpd" ], - "uci": { "snmpd": true } + "acl": [ "luci-app-snmpd" ] } } } |