2023-09-01 14:23:39 +00:00
|
|
|
print("CONFIGURE> SCANNING FOR CONFIGURATOR...")
|
|
|
|
|
|
|
|
if fs.exists("reactor-plc/configure.lua") then
|
2023-09-20 03:52:22 +00:00
|
|
|
require("reactor-plc.configure").configure()
|
2023-10-15 17:26:49 +00:00
|
|
|
elseif fs.exists("rtu/configure.lua") then
|
|
|
|
require("rtu.configure").configure()
|
2023-12-18 20:23:51 +00:00
|
|
|
elseif fs.exists("supervisor/configure.lua") then
|
|
|
|
require("supervisor.configure").configure()
|
2024-01-31 19:10:03 +00:00
|
|
|
elseif fs.exists("coordinator/configure.lua") then
|
|
|
|
require("coordinator.configure").configure()
|
2023-09-01 14:23:39 +00:00
|
|
|
elseif fs.exists("pocket/startup.lua") then
|
2023-12-30 19:51:25 +00:00
|
|
|
print("CONFIGURE> pocket configurator not yet implemented (use 'edit pocket/config.lua' to configure)")
|
2023-09-01 14:23:39 +00:00
|
|
|
else
|
|
|
|
print("CONFIGURE> NO CONFIGURATOR FOUND")
|
|
|
|
print("CONFIGURE> EXIT")
|
|
|
|
end
|