2023-09-01 14:23:39 +00:00
|
|
|
print("CONFIGURE> SCANNING FOR CONFIGURATOR...")
|
|
|
|
|
2024-02-19 19:27:02 +00:00
|
|
|
if fs.exists("reactor-plc/configure.lua") then require("reactor-plc.configure").configure()
|
|
|
|
elseif fs.exists("rtu/configure.lua") then require("rtu.configure").configure()
|
|
|
|
elseif fs.exists("supervisor/configure.lua") then require("supervisor.configure").configure()
|
|
|
|
elseif fs.exists("coordinator/configure.lua") then require("coordinator.configure").configure()
|
|
|
|
elseif fs.exists("pocket/configure.lua") then require("pocket.configure").configure()
|
2023-09-01 14:23:39 +00:00
|
|
|
else
|
|
|
|
print("CONFIGURE> NO CONFIGURATOR FOUND")
|
|
|
|
print("CONFIGURE> EXIT")
|
|
|
|
end
|