summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-08 16:09:17 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-10 15:28:16 +0200
commit5697ebbef575a182841cfff9e722b513f373ec6a (patch)
treea1b048ebd1d01b76d340f560dd038ce0013f6b15 /modules
parent963b7636b46fd1b9ae47e2317ef491ce1b0ecfd5 (diff)
luci-base: add hostapd/wpa_supplicant cli feature flags
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/luci-base/root/usr/libexec/rpcd/luci4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci
index e94e3f1f7..ab6a7ecfe 100755
--- a/modules/luci-base/root/usr/libexec/rpcd/luci
+++ b/modules/luci-base/root/usr/libexec/rpcd/luci
@@ -400,7 +400,7 @@ local methods = {
local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192" }
if fs.access("/usr/sbin/hostapd") then
- rv.hostapd = {}
+ rv.hostapd = { cli = fs.access("/usr/sbin/hostapd_cli") }
local _, feature
for _, feature in ipairs(wifi_features) do
@@ -410,7 +410,7 @@ local methods = {
end
if fs.access("/usr/sbin/wpa_supplicant") then
- rv.wpasupplicant = {}
+ rv.wpasupplicant = { cli = fs.access("/usr/sbin/wpa_cli") }
local _, feature
for _, feature in ipairs(wifi_features) do