summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2020-12-09 19:09:05 +0100
committerAndre Heider <a.heider@gmail.com>2021-01-26 07:10:19 +0100
commit8051510732906d0e701d662845747a22f059563b (patch)
tree85f55567ba02042a4007d310e24be76508d44709 /modules/luci-mod-status/root/usr
parent7e070523756795d62a5f536f2eb6bf1cf16d23a2 (diff)
luci-mod-status: use the new ubus dsl metrics
This is significantly faster. Signed-off-by: Andre Heider <a.heider@gmail.com> Tested-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-status/root/usr')
-rw-r--r--modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
index 5029bbed47..e23a0ae6b4 100644
--- a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
@@ -120,7 +120,7 @@
"description": "Grant access to DSL status display",
"read": {
"ubus": {
- "luci-rpc": [ "getDSLStatus" ]
+ "dsl": [ "metrics" ]
}
}
},