From def988495a41f6388419ef34a209046e7542d495 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Sun, 22 Dec 2024 00:39:36 +0000 Subject: [PATCH] luci-base: detect WiFi availability - useful for non-WiFi devices Signed-off-by: Paul Donald --- modules/luci-base/root/usr/share/rpcd/ucode/luci | 1 + 1 file changed, 1 insertion(+) 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' ]; -- 2.30.2