autocore: sync with recently changes

This commit is contained in:
CN_SZTL 2020-08-03 20:51:23 +08:00
parent 5ed4adbbc0
commit c41007c9f5
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 5 additions and 4 deletions

View File

@ -368,7 +368,7 @@ local methods = {
break
end
local pnum = line:match("^Port (%d+):")
local pnum = line:match("^Port (%d+):$")
if pnum then
port = {
port = tonumber(pnum),

View File

@ -217,8 +217,9 @@ local methods = {
rv.ipv6 = fs.access("/proc/net/ipv6_route")
rv.dropbear = fs.access("/usr/sbin/dropbear")
rv.cabundle = fs.access("/etc/ssl/certs/ca-certificates.crt")
rv.relayd = fs.access("/usr/sbin/relayd")
local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192" }
local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192", "wep" }
if fs.access("/usr/sbin/hostapd") then
rv.hostapd = { cli = fs.access("/usr/sbin/hostapd_cli") }
@ -367,7 +368,7 @@ local methods = {
break
end
local pnum = line:match("^Port (%d+):")
local pnum = line:match("^Port (%d+):$")
if pnum then
port = {
port = tonumber(pnum),

View File

@ -128,5 +128,5 @@
"hostapd.*": [ "del_client" ]
}
}
},
}
}