projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
963b763
)
luci-base: add hostapd/wpa_supplicant cli feature flags
author
Jo-Philipp Wich
<jo@mein.io>
Sun, 8 Sep 2019 14:09:17 +0000
(16:09 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000
(15:28 +0200)
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 e94e3f1f7458ab5ba91059a4288be0ae5279058b..ab6a7ecfeebaacd491bea4050644ca29d04cff53 100755
(executable)
--- 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