luci-base: fix DSL feature detection
authorJo-Philipp Wich <jo@mein.io>
Tue, 3 May 2022 12:52:35 +0000 (14:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 May 2022 18:23:26 +0000 (20:23 +0200)
commit07cf1a33a228579131ada556780f9e197e8d2fb1
tree21e8f7e7cccb2e628d0f677c29de8c81fb005532
parentec7cadc37e815e536b5e9ca9579cda72dc80a388
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>
(cherry picked from commit 111c551cdb8d14e8e5ef7c7a66ffdceb6d3cbb55)
modules/luci-base/root/usr/libexec/rpcd/luci