Show full ToC entry on hold (#6729)

Fix #6728
This commit is contained in:
NiLuJe
2020-09-30 19:56:56 +02:00
committed by GitHub
parent f0f0cfd167
commit ec3ec8dc21
6 changed files with 48 additions and 8 deletions

View File

@@ -422,7 +422,7 @@ function Device:retrieveNetworkInfo()
std_out = io.popen('2>/dev/null iwconfig | grep ESSID | cut -d\\" -f2')
if std_out then
local ssid = std_out:read("*all")
result = result .. "SSID: " .. ssid:gsub("(.-)%s*$", "%1") .. "\n"
result = result .. "SSID: " .. util.trim(ssid) .. "\n"
std_out:close()
end
if os.execute("ip r | grep -q default") == 0 then