From c41007c9f543aba5b64dad5a4ba2a0a750528978 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Mon, 3 Aug 2020 20:51:23 +0800 Subject: [PATCH] autocore: sync with recently changes --- package/lean/autocore/files/arm/rpcd_luci | 2 +- package/lean/autocore/files/x86/rpcd_luci | 5 +++-- package/lean/autocore/files/x86/rpcd_luci-mod-status.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/lean/autocore/files/arm/rpcd_luci b/package/lean/autocore/files/arm/rpcd_luci index 9719b9634b..123cad54bc 100755 --- a/package/lean/autocore/files/arm/rpcd_luci +++ b/package/lean/autocore/files/arm/rpcd_luci @@ -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), diff --git a/package/lean/autocore/files/x86/rpcd_luci b/package/lean/autocore/files/x86/rpcd_luci index 6777496033..5f2b1cb515 100755 --- a/package/lean/autocore/files/x86/rpcd_luci +++ b/package/lean/autocore/files/x86/rpcd_luci @@ -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), diff --git a/package/lean/autocore/files/x86/rpcd_luci-mod-status.json b/package/lean/autocore/files/x86/rpcd_luci-mod-status.json index 4828757b3b..05cdec6276 100644 --- a/package/lean/autocore/files/x86/rpcd_luci-mod-status.json +++ b/package/lean/autocore/files/x86/rpcd_luci-mod-status.json @@ -128,5 +128,5 @@ "hostapd.*": [ "del_client" ] } } - }, + } }