diff --git a/src/brulijam/setLabel.lua b/src/brulijam/setLabel.lua index ea001d2..c66a53b 100644 --- a/src/brulijam/setLabel.lua +++ b/src/brulijam/setLabel.lua @@ -2,12 +2,9 @@ local basic = require("lib.basic") local hash = require("lib.hash") local systemConfig = basic.readFileAll("/brulijam/config/systemConfig.txt") -systemConfig = textutils.serialize(systemConfig) +systemConfig = textutils.unserialize(systemConfig) if os.getComputerLabel() == nil then local labelMainPart = string.sub(hash.digestStr(string.format(os.getComputerID())), 1, 6) - print(labelMainPart) - print(systemConfig["labelPrefix"]) - sleep(5) os.setComputerLabel(systemConfig["labelPrefix"] .. "-" .. labelMainPart) end \ No newline at end of file diff --git a/src/brulijam/systemlock.lua b/src/brulijam/systemlock.lua index b422419..3d57d79 100644 --- a/src/brulijam/systemlock.lua +++ b/src/brulijam/systemlock.lua @@ -92,8 +92,6 @@ local function unlockDevice() end local function shellRun() - print("running shell") - sleep(5) shell.run("shell") end