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" ] } } - }, + } }