aboutsummaryrefslogtreecommitdiff
path: root/startup.lua
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-11-16 17:08:41 -0500
committerAndrew Lee <alee14498@protonmail.com>2020-11-16 17:08:41 -0500
commit53e4faeef243c8e229b29012a8031878d7ba666a (patch)
tree426ef27599be741c710f46cb80373ab49331564b /startup.lua
parentd971f492e0939d85bb55361d028dd0fe9428be63 (diff)
downloadbits-UI-53e4faeef243c8e229b29012a8031878d7ba666a.tar.gz
bits-UI-53e4faeef243c8e229b29012a8031878d7ba666a.tar.bz2
bits-UI-53e4faeef243c8e229b29012a8031878d7ba666a.zip
Revert changes; Added a welcome text
Diffstat (limited to 'startup.lua')
-rw-r--r--startup.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/startup.lua b/startup.lua
index f0dd84d..81b8daa 100644
--- a/startup.lua
+++ b/startup.lua
@@ -1,5 +1,13 @@
if fs.exists("/boot/ccboot/boot.lua") then
-shell.run("boot/ccboot/boot.lua");
+ term.clear()
+ term.setCursorPos(1,1)
+ term.setBackgroundColor(colours.white)
+ term.setTextColor(colours.black)
+ print("Welcome to CCBoot!")
+ sleep(1)
+ term.setBackgroundColor(colours.black)
+ term.setTextColor(colours.white)
+ shell.run("boot/ccboot/boot.lua");
else
term.clear()
term.setCursorPos(1,1)