.
This commit is contained in:
parent
193ce1da41
commit
551c2d467a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user