diff --git a/configure.lua b/configure.lua index 49ae2a8..ce6ed40 100644 --- a/configure.lua +++ b/configure.lua @@ -1,15 +1,10 @@ print("CONFIGURE> SCANNING FOR CONFIGURATOR...") -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() +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() else print("CONFIGURE> NO CONFIGURATOR FOUND") print("CONFIGURE> EXIT") diff --git a/startup.lua b/startup.lua index 525402b..811f510 100644 --- a/startup.lua +++ b/startup.lua @@ -2,7 +2,7 @@ local util = require("scada-common.util") local println = util.println -local BOOTLOADER_VERSION = "0.6" +local BOOTLOADER_VERSION = "1.0" println("SCADA BOOTLOADER V" .. BOOTLOADER_VERSION) println("BOOT> SCANNING FOR APPLICATIONS...")