#580 modem list fix

This commit is contained in:
Mikayla Fischler
2025-10-26 15:28:30 -04:00
parent 22208e91aa
commit 452fe71ab8
3 changed files with 5 additions and 11 deletions

View File

@@ -886,11 +886,8 @@ function system.create(tool_ctl, main_pane, cfg_sys, divs, fac_pane, style, exit
local missing = { tmp = true, ini = true }
for iface, _ in pairs(modems) do
if ini_cfg.WiredModem == iface then
missing.ini = false
elseif tmp_cfg.WiredModem == iface then
missing.tmp = false
end
if ini_cfg.WiredModem == iface then missing.ini = false end
if tmp_cfg.WiredModem == iface then missing.tmp = false end
end
if missing.tmp and tmp_cfg.WiredModem then