Skip to content

Commit

Permalink
Add permison to access switch port status
Browse files Browse the repository at this point in the history
  • Loading branch information
wsk170 authored Dec 14, 2024
1 parent 02fff2a commit 0dcf3cb
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"luci-mod-status-autocore": {
"description": "Grant access to autocore",
"read": {
"ubus": {
"luci": [ "getCPUInfo", "getETHInfo", "getTempInfo" ]
}
}
}
"luci-mod-status-autocore": {
"description": "Grant access to autocore",
"read": {
"ubus": {
"luci": ["getCPUInfo", "getETHInfo", "getTempInfo"]
},
"file": {
"/sbin/swconfig dev switch0 show": ["exec"]
}
}
}
}

0 comments on commit 0dcf3cb

Please sign in to comment.