Commit graph

4 commits

Author SHA1 Message Date
Dirk Brenken
e76d9cc767
luci-app-sqm: fix JS error if service is disabled
* fix a 'resource not found error' if the sqm service has been disabled
  and the dir '/var/run/sqm/available_qdiscs' not exist
* inform the user about this issue and provide a button
  to enable & start the service

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-06-09 22:36:32 +02:00
Toke Høiland-Jørgensen
96b8f43f6b luci-app-sqm: Use CAKE as default qdisc
The sqm-scripts package depends on kmod-sched-cake, meaning CAKE is always
available in normal installs. So we might as well just make CAKE the
default config in SQM configs.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2020-12-31 17:13:49 +01:00
Ansuel Smith
5a6037a258 luci-app-sqm: fix missing interface in selection
Show device instead of interface in interface selection.

Fixes: 
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-25 14:46:36 +01:00
Ansuel Smith
63aea8f848 luci-app-sqm: convert to client side implementation
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>
2020-10-23 23:05:14 +02:00