.
This commit is contained in:
parent
673b920be2
commit
c202b7eb9b
@ -24,13 +24,13 @@ local copyList = {
|
||||
}
|
||||
|
||||
|
||||
print("[Syncing start]")
|
||||
print("[SYNC START]")
|
||||
for i=0, #copyList do
|
||||
getRequest = http.get(prefix .. copyList[i])
|
||||
print("[wget] " .. copyList[i])
|
||||
print("[WGET] " .. copyList[i])
|
||||
file = fs.open(copyList[i], "w")
|
||||
file.write(getRequest.readAll())
|
||||
file.close()
|
||||
end
|
||||
print("[Sync end]")
|
||||
print("[SYNC END]")
|
||||
sleep(1)
|
||||
|
@ -12,7 +12,7 @@ local function createPwHash()
|
||||
local inputConfirmed = false
|
||||
while not inputConfirmed do
|
||||
basic.clearDisplay()
|
||||
print("[Systemlock]")
|
||||
print("[SYSTEMLOCK]")
|
||||
print("Create a new password.")
|
||||
print("This will be used to unlock this device.")
|
||||
write("Input: ")
|
||||
@ -48,7 +48,7 @@ end
|
||||
|
||||
local function inputPrompt()
|
||||
basic.clearDisplay()
|
||||
print("[Systemlock]")
|
||||
print("[SYSTEMLOCK]")
|
||||
write("Unlock with password: ")
|
||||
inputHash = hash.digestStr(read("*") .. os.getComputerID())
|
||||
end
|
||||
@ -67,7 +67,7 @@ local function unlockDevice()
|
||||
if pwCorrect then --correct input
|
||||
config["locked"] = false
|
||||
setConfig()
|
||||
print("[Unlocked]")
|
||||
print("[UNLOCKED]")
|
||||
sleep(0.2)
|
||||
basic.clearDisplay()
|
||||
print("[" .. os.getComputerLabel() .. "][" .. basic.getCurrentTime() .. "]")
|
||||
|
@ -11,7 +11,7 @@ local labelPrefix = "SPHEAL"
|
||||
|
||||
|
||||
|
||||
print("[Booting]")
|
||||
print("[BOOTING]")
|
||||
|
||||
if not (fs.exists("brulijam/config/system.config")) then
|
||||
local systemConfig = {}
|
||||
|
Loading…
Reference in New Issue
Block a user