luci-app-sqm: add from openwrt luci

* https://github.com/openwrt/luci/tree/03367675bffeacff3633ad5f113114134a7ec859/applications/luci-app-sqm

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml
2025-05-27 19:06:04 +08:00
commit 1f926d3e21
41 changed files with 11883 additions and 0 deletions
@@ -0,0 +1,21 @@
{
"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" ],
"/etc/init.d/sqm enable" : [ "exec" ],
"/etc/init.d/sqm start" : [ "exec" ]
},
"uci": [ "sqm" ],
"ubus": {
"file": [ "read", "list" ],
"luci": [ "setInitAction" ]
}
},
"write": {
"uci": [ "sqm" ]
}
}
}