mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 16:03:56 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"admin/network/usage": {
|
||||
"title": "Traffic Status",
|
||||
"order": 60,
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/network/usage/details"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-wrtbwmon" ],
|
||||
"uci": { "wrtbwmon": true }
|
||||
}
|
||||
},
|
||||
|
||||
"admin/network/usage/details": {
|
||||
"title": "Details",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wrtbwmon/details"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/network/usage/config": {
|
||||
"title": "Configuration",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wrtbwmon/config"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/network/usage/custom": {
|
||||
"title": "User file",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wrtbwmon/custom"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"luci-app-wrtbwmon": {
|
||||
"description": "Grant access to LuCI app wrtbwmon",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"luci.wrtbwmon": [
|
||||
"get_db_raw",
|
||||
"get_db_path"
|
||||
],
|
||||
"luci-rpc": [
|
||||
"getDHCPLeases",
|
||||
"getDSLStatus"
|
||||
]
|
||||
},
|
||||
"file": {
|
||||
"/etc/wrtbwmon.user": [ "read" ],
|
||||
"/usr/sbin/wrtbwmon": [ "exec" ],
|
||||
"/etc/luci-wrtbwmon.conf": [ "read" ]
|
||||
},
|
||||
"uci": [ "wrtbwmon" ]
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"luci.wrtbwmon": [
|
||||
"remove_db",
|
||||
"change_db_path"
|
||||
]
|
||||
},
|
||||
"file": {
|
||||
"/etc/luci-wrtbwmon.conf": [ "write" ],
|
||||
"/etc/wrtbwmon.user": [ "write" ]
|
||||
},
|
||||
"uci": [ "wrtbwmon" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user