This commit is contained in:
Julian Brammer 2024-06-08 23:00:33 +02:00
parent 673b920be2
commit c202b7eb9b
3 changed files with 7 additions and 7 deletions

View File

@ -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)

View File

@ -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() .. "]")

View File

@ -11,7 +11,7 @@ local labelPrefix = "SPHEAL"
print("[Booting]")
print("[BOOTING]")
if not (fs.exists("brulijam/config/system.config")) then
local systemConfig = {}