From 372690f2f88bf0f1cf338bedb44c75cfd13f6c3e Mon Sep 17 00:00:00 2001 From: Izaya Date: Sun, 15 Apr 2018 21:42:57 +1000 Subject: [PATCH] Made minitel reset the modems table before filling --- OpenOS/etc/rc.d/minitel.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenOS/etc/rc.d/minitel.lua b/OpenOS/etc/rc.d/minitel.lua index e690527..b5cc673 100644 --- a/OpenOS/etc/rc.d/minitel.lua +++ b/OpenOS/etc/rc.d/minitel.lua @@ -67,6 +67,7 @@ function start() end print("Hostname: "..hostname) if listener then return end + modems={} for a,t in component.list("modem") do modems[#modems+1] = component.proxy(a) end