.
This commit is contained in:
parent
551c2d467a
commit
e5be22c8e1
@ -26,7 +26,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")
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user