Convert sqm app to client side implementation. Only a small rework in the logic to get qos scripts help text. The rest of the script is a porting 1:1. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
19 lines
347 B
JSON
19 lines
347 B
JSON
{
|
|
"luci-app-sqm": {
|
|
"description": "Grant UCI access for luci-app-sqm",
|
|
"read": {
|
|
"file": {
|
|
"/var/run/sqm/available_qdiscs": [ "list" ],
|
|
"/usr/lib/sqm/*.qos.help": [ "read" ]
|
|
},
|
|
"uci": [ "sqm" ],
|
|
"ubus": {
|
|
"file": [ "read", "list" ],
|
|
"luci": [ "setInitAction" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"uci": [ "sqm" ]
|
|
}
|
|
}
|
|
}
|