.
This commit is contained in:
parent
586a918330
commit
8070b92009
@ -6,5 +6,8 @@ systemConfig = textutils.unserialize(systemConfig)
|
|||||||
|
|
||||||
if os.getComputerLabel() == nil then
|
if os.getComputerLabel() == nil then
|
||||||
local labelMainPart = string.sub(hash.digestStr(string.format(os.getComputerID())), 1, 6)
|
local labelMainPart = string.sub(hash.digestStr(string.format(os.getComputerID())), 1, 6)
|
||||||
|
print(labelMainPart)
|
||||||
|
print(systemConfig["labelPrefix"])
|
||||||
|
sleep(5)
|
||||||
os.setComputerLabel(systemConfig["labelPrefix"] .. "-" .. labelMainPart)
|
os.setComputerLabel(systemConfig["labelPrefix"] .. "-" .. labelMainPart)
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user