This commit is contained in:
Julian Brammer 2024-06-08 22:30:42 +02:00
parent 586a918330
commit 8070b92009

View File

@ -6,5 +6,8 @@ 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