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 <jo@mein.io>
This commit is contained in:
parent
eadf07b529
commit
111c551cdb
1 changed files with 1 additions and 1 deletions
|
@ -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" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue