diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-28 14:43:29 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-28 14:43:29 +0200 |
commit | d513f1461fae9cc67425c38e6ca6711932d12d38 (patch) | |
tree | b803ed205bb6323efddb864885d44ddd1a551c6a /modules/luci-base | |
parent | 4424424366ba3980a96c712bbc681f6634a30207 (diff) |
luci-base: add "dsl" system feature
Allows LuCI views to probe DSL presence using `L.hasSystemFeature('dsl')`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rwxr-xr-x | modules/luci-base/root/usr/libexec/rpcd/luci | 1 |
1 files changed, 1 insertions, 0 deletions
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" } |