From 96b8f43f6b156f03ea62f34464486ea2b1e4a2b1 Mon Sep 17 00:00:00 2001 From: Toke Høiland-Jørgensen Date: Thu, 31 Dec 2020 13:47:49 +0100 Subject: luci-app-sqm: Use CAKE as default qdisc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-sqm/htdocs/luci-static/resources/view/network') diff --git a/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js b/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js index a9d99d5f6c..337911ac5e 100644 --- a/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js +++ b/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js @@ -95,7 +95,7 @@ return view.extend({ for (var i=0; i < qdiscs.length; i++) { o.value(qdiscs[i].name); } - o.default = "fq_codel"; + o.default = "cake"; o.rmempty = false; var qos_desc = ""; @@ -108,7 +108,7 @@ return view.extend({ else qos_desc += "No help text

"; } - o.default = "simple.qos"; + o.default = "piece_of_cake.qos"; o.rmempty = false; o.description = qos_desc; -- cgit v1.2.3