From 111c551cdb8d14e8e5ef7c7a66ffdceb6d3cbb55 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 3 May 2022 14:52:35 +0200 Subject: [PATCH] luci-base: fix DSL feature detection On boards with ADSL instead of VDSL support we need to expect an `/sbin/dsl_cpe_control` instead of an `/sbin/vdsl_cpe_control` executable. Ref: https://forum.openwrt.org/t/dsl-line-stats/126580 Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/libexec/rpcd/luci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index d17a7cf40e..6a80951e8c 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -223,7 +223,7 @@ local methods = { rv.dropbear = fs.access("/usr/sbin/dropbear") rv.cabundle = fs.access("/etc/ssl/certs/ca-certificates.crt") rv.relayd = fs.access("/usr/sbin/relayd") - rv.dsl = fs.access("/sbin/vdsl_cpe_control") + rv.dsl = fs.access("/sbin/dsl_cpe_control") or fs.access("/sbin/vdsl_cpe_control") local wifi_features = { "eap", "11n", "11ac", "11r", "acs", "sae", "owe", "suiteb192", "wep", "wps" } -- 2.30.2