From: Paul Donald Date: Sun, 22 Dec 2024 00:39:36 +0000 (+0000) Subject: luci-base: detect WiFi availability - useful for non-WiFi devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=def988495a41f6388419ef34a209046e7542d495;p=project%2Fluci.git luci-base: detect WiFi availability - useful for non-WiFi devices Signed-off-by: Paul Donald --- diff --git a/modules/luci-base/root/usr/share/rpcd/ucode/luci b/modules/luci-base/root/usr/share/rpcd/ucode/luci index 0e3104186c..e104225d0f 100644 --- a/modules/luci-base/root/usr/share/rpcd/ucode/luci +++ b/modules/luci-base/root/usr/share/rpcd/ucode/luci @@ -209,6 +209,7 @@ const methods = { cabundle: access('/etc/ssl/certs/ca-certificates.crt') == true, relayd: access('/usr/sbin/relayd') == true, apk: access('/usr/bin/apk') == true, + wifi: access('/sbin/wifi') == true, }; const wifi_features = [ 'eap', '11ac', '11ax', '11be', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps', 'ocv' ];