Skip to content

Commit

Permalink
Merge pull request #6048 from dhewg/dsl
Browse files Browse the repository at this point in the history
remove 'dsl' feature flag
  • Loading branch information
jow- committed Oct 21, 2022
2 parents e019fc5 + a398ccf commit 497b375
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion modules/luci-base/root/usr/libexec/rpcd/luci
Expand Up @@ -223,7 +223,6 @@ 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/dsl_cpe_control") or fs.access("/sbin/vdsl_cpe_control")

local wifi_features = { "eap", "11n", "11ac", "11r", "acs", "sae", "owe", "suiteb192", "wep", "wps" }

Expand Down
@@ -1,5 +1,6 @@
'use strict';
'require baseclass';
'require network';
'require rpc';

var callDSLMetrics = rpc.declare({
Expand Down Expand Up @@ -44,7 +45,7 @@ return baseclass.extend({
title: _('DSL'),

load: function() {
if (!L.hasSystemFeature('dsl'))
if (!network.getDSLModemType())
return Promise.reject();

return L.resolveDefault(callDSLMetrics(), {});
Expand Down

0 comments on commit 497b375

Please sign in to comment.