diff --git a/src/brulijam/systemlock.lua b/src/brulijam/systemlock.lua index b75b9ff..7f7eb9f 100644 --- a/src/brulijam/systemlock.lua +++ b/src/brulijam/systemlock.lua @@ -44,6 +44,7 @@ local function inputTimeout() end local function inputPrompt() + basic.clearDisplay() write("Enter Password: ") inputHash = hash.digestStr(read("*") .. os.getComputerID()) end diff --git a/src/startup.lua b/src/startup.lua index 0bfdf50..49c9853 100644 --- a/src/startup.lua +++ b/src/startup.lua @@ -1,7 +1,12 @@ --you may change these values local repo = "https://git.brulijam.com/brulijam/Computercraft/raw/branch/main/src" -shell.run("set motd.enable false") + +local motd = settings.get("motd.enable") +if motd then + shell.run("set motd.enable false") +end + --fetch sync script getRequest = http.get(repo .. "/brulijam/sync.lua")