.
This commit is contained in:
parent
b106e6edaf
commit
2e9a644e37
@ -29,7 +29,7 @@ shell.run("/brulijam/sync.lua")
|
|||||||
local hash = require("brulijam.lib.hash")
|
local hash = require("brulijam.lib.hash")
|
||||||
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(string.format(os.getComputerID())), 1, 6)
|
||||||
os.setComputerLabel(labelPrefix .. "-" .. labelMainPart)
|
os.setComputerLabel(labelPrefix .. "-" .. labelMainPart)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user