aboutsummaryrefslogtreecommitdiff
path: root/System/recovery/main.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 /System/recovery/main.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 'System/recovery/main.lua')
-rw-r--r--System/recovery/main.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/System/recovery/main.lua b/System/recovery/main.lua
index 15c51aa..0adb7cc 100644
--- a/System/recovery/main.lua
+++ b/System/recovery/main.lua
@@ -19,10 +19,11 @@ term.setTextColor(colors.white)
print("Welcome to the bits-UI recovery mode!")
sleep(2)
print("Do you want to either reset or transfer?")
+print("1 or 2")
local input = read();
-if input == "reset" then
+if input == "1" then
shell.run("/System/recovery/reset.lua")
-elseif input == "transfer" then
+elseif input == "2" then
shell.run("/System/recovery/transfer.lua")
else
os.reboot()