projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4424424
)
luci-base: add "dsl" system feature
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 28 Oct 2021 12:43:29 +0000
(14:43 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 28 Oct 2021 12:43:29 +0000
(14:43 +0200)
Allows LuCI views to probe DSL presence using `L.hasSystemFeature('dsl')`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/root/usr/libexec/rpcd/luci
patch
|
blob
|
history
diff --git
a/modules/luci-base/root/usr/libexec/rpcd/luci
b/modules/luci-base/root/usr/libexec/rpcd/luci
index 17fb3910b221f6289393f808a2e156c6834f05f5..19cdb0ad39e8ea71d3f1c6742d5a0ac491535dec 100755
(executable)
--- 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" }