From c202b7eb9bc88720b5b0cbe215b080544a39c4f3 Mon Sep 17 00:00:00 2001 From: brulijam Date: Sat, 8 Jun 2024 23:00:33 +0200 Subject: [PATCH] . --- src/brulijam/sync.lua | 6 +++--- src/brulijam/systemlock.lua | 6 +++--- src/startup.lua | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/brulijam/sync.lua b/src/brulijam/sync.lua index 85a9673..253f6fe 100644 --- a/src/brulijam/sync.lua +++ b/src/brulijam/sync.lua @@ -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) diff --git a/src/brulijam/systemlock.lua b/src/brulijam/systemlock.lua index e6d00b9..b55eede 100644 --- a/src/brulijam/systemlock.lua +++ b/src/brulijam/systemlock.lua @@ -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() .. "]") diff --git a/src/startup.lua b/src/startup.lua index ff5b7f6..bf53a5c 100644 --- a/src/startup.lua +++ b/src/startup.lua @@ -11,7 +11,7 @@ local labelPrefix = "SPHEAL" -print("[Booting]") +print("[BOOTING]") if not (fs.exists("brulijam/config/system.config")) then local systemConfig = {}