luci-base: add system cert bundle detection
Add detection mechanism for system cert CA bundle installed by the
ca-bundle package. Used by LuCI to detect whether the "Use system
certificates" certificate validation option should be enabled.
Signed-off-by: David Lam <david@thedavid.net>
(cherry picked from commit 27b21c2a62
)
This commit is contained in:
parent
8f57e814d9
commit
e994b09333
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ local methods = {
|
|||
rv.sysntpd = fs.readlink("/usr/sbin/ntpd") and true
|
||||
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")
|
||||
|
||||
local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue