aboutsummaryrefslogtreecommitdiff
path: root/system/boot.lua
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-07-15 21:57:44 -0400
committerAndrew Lee <alee14498@gmail.com>2019-07-15 21:57:44 -0400
commitd918fd8a79bce243a614cd99f74b7f40c639fbe1 (patch)
treeaa1ecbeff6a8a507e5749a691f56720676700579 /system/boot.lua
parentbc294508b9d6566add6605bb7da09d3f6b74f9bb (diff)
downloadbits-UI-d918fd8a79bce243a614cd99f74b7f40c639fbe1.tar.gz
bits-UI-d918fd8a79bce243a614cd99f74b7f40c639fbe1.tar.bz2
bits-UI-d918fd8a79bce243a614cd99f74b7f40c639fbe1.zip
Made booting faster and encrypted password
Diffstat (limited to 'system/boot.lua')
-rw-r--r--system/boot.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/boot.lua b/system/boot.lua
index 5418427..c1caace 100644
--- a/system/boot.lua
+++ b/system/boot.lua
@@ -20,7 +20,7 @@ term.clear()
term.setCursorPos(1,1)
print("Starting up bits-UI ".. version .."...")
-sleep(2)
+sleep(1)
if term.isColor() then
term.setTextColor(colors.green)
@@ -31,7 +31,7 @@ else
os.shutdown()
end
-sleep(2)
+sleep(1)
if fs.exists(desktop) then
term.setTextColor(colors.green)
@@ -39,11 +39,11 @@ if fs.exists(desktop) then
else
term.setTextColor(colors.red)
print("[ERROR] Desktop cannot be found...")
- sleep(3)
+ sleep(2)
os.shutdown()
end
-sleep(2)
+sleep(1)
if fs.exists("/home") then
term.setTextColor(colors.green)
@@ -63,7 +63,7 @@ else
print("[OK] Etc directory has been created...")
end
-sleep(2)
+sleep(1)
if fs.exists("/home/.config") then
term.setTextColor(colors.green)
@@ -74,13 +74,13 @@ else
term.setTextColor(colors.blue)
print("[INFO] Config has not been found!")
print("[INFO] You will be sent to the post installation setup...")
- sleep(3)
+ sleep(2)
shell.run("/system/post-setup.lua")
end
-sleep(2)
+sleep(1)
term.setTextColor(colors.green)
print("[DONE] Boot sequence has been completed...")
term.setTextColor(colors.white)
-sleep(2)
+sleep(1)
shell.run(desktop) \ No newline at end of file