.
This commit is contained in:
parent
5ddace7edf
commit
dbc95c3f72
@ -1,7 +1,7 @@
|
||||
local basic = require("lib.basic")
|
||||
local hash = require("lib.hash")
|
||||
|
||||
local systemConfig = basic.readFileAll("/brulijam/config/systemConfig.txt")
|
||||
local systemConfig = basic.readFileAll("/brulijam/config/system.config")
|
||||
systemConfig = textutils.unserialize(systemConfig)
|
||||
|
||||
if os.getComputerLabel() == nil then
|
||||
|
@ -13,10 +13,10 @@ local labelPrefix = "SPHEAL"
|
||||
|
||||
print("[Booting]")
|
||||
|
||||
if not (fs.exists("brulijam/config/system.txt")) then
|
||||
if not (fs.exists("brulijam/config/system.config")) then
|
||||
local systemConfig = {}
|
||||
systemConfig["labelPrefix"] = labelPrefix
|
||||
file = fs.open("brulijam/config/system.txt", "w")
|
||||
file = fs.open("brulijam/config/system.config", "w")
|
||||
file.write(textutils.serialize(systemConfig))
|
||||
file.close()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user