This commit is contained in:
Julian Brammer 2024-06-08 19:18:27 +02:00
parent 193ce1da41
commit 551c2d467a

View File

@ -27,6 +27,7 @@ shell.run("/brulijam/sync.lua")
--set label if not set --set label if not set
if os.getComputerLabel == nil then if os.getComputerLabel == nil then
print("wuauw")
local labelMainPart = string.sub(hash.digestStr(os.getComputerID()), 1, 6) local labelMainPart = string.sub(hash.digestStr(os.getComputerID()), 1, 6)
os.setComputerLabel(labelPrefix .. "-" .. labelMainPart) os.setComputerLabel(labelPrefix .. "-" .. labelMainPart)
end end