summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dcwapd/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dcwapd/root/usr/share')
-rw-r--r--applications/luci-app-dcwapd/root/usr/share/luci/menu.d/luci-app-dcwapd.json5
-rw-r--r--applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json2
2 files changed, 4 insertions, 3 deletions
diff --git a/applications/luci-app-dcwapd/root/usr/share/luci/menu.d/luci-app-dcwapd.json b/applications/luci-app-dcwapd/root/usr/share/luci/menu.d/luci-app-dcwapd.json
index 40946b5136..a4af3f4dd1 100644
--- a/applications/luci-app-dcwapd/root/usr/share/luci/menu.d/luci-app-dcwapd.json
+++ b/applications/luci-app-dcwapd/root/usr/share/luci/menu.d/luci-app-dcwapd.json
@@ -2,9 +2,8 @@
"admin/network/dcwapd": {
"title": "Dual Channel WiFi",
"action": {
- "type": "cbi",
- "path": "dcwapd/dcwapd",
- "post": { "cbi.submit": true }
+ "type": "view",
+ "path": "dcwapd/dcwapd"
},
"depends": {
"acl": [ "luci-app-dcwapd" ],
diff --git a/applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json b/applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json
index 07a392a5d5..983c525be7 100644
--- a/applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json
+++ b/applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json
@@ -2,6 +2,8 @@
"luci-app-dcwapd": {
"description": "Grant UCI access for luci-app-dcwapd",
"read": {
+ "ubus": {
+ "luci-rpc": [ "getWirelessDevices" ],
"uci": [ "dcwapd" ]
},
"write": {