From d513f1461fae9cc67425c38e6ca6711932d12d38 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 28 Oct 2021 14:43:29 +0200 Subject: luci-base: add "dsl" system feature Allows LuCI views to probe DSL presence using `L.hasSystemFeature('dsl')`. Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/libexec/rpcd/luci | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/luci-base/root/usr/libexec/rpcd') diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index 17fb3910b2..19cdb0ad39 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -218,6 +218,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") local wifi_features = { "eap", "11n", "11ac", "11r", "acs", "sae", "owe", "suiteb192", "wep", "wps" } -- cgit v1.2.3