aboutsummaryrefslogtreecommitdiff
path: root/system/transfer.lua
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-07-14 21:53:01 -0400
committerAndrew Lee <alee14498@gmail.com>2019-07-14 21:53:01 -0400
commita3e41759b761898f24b9e8b7c5e0679ca273df07 (patch)
treea6d9ef3144e743316f7599f23017a2a0582e2a9b /system/transfer.lua
parentfc5532b16318599cb7acce820132f0c99ed68cc3 (diff)
downloadbits-UI-a3e41759b761898f24b9e8b7c5e0679ca273df07.tar.gz
bits-UI-a3e41759b761898f24b9e8b7c5e0679ca273df07.tar.bz2
bits-UI-a3e41759b761898f24b9e8b7c5e0679ca273df07.zip
Fixes
Diffstat (limited to 'system/transfer.lua')
-rw-r--r--system/transfer.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/transfer.lua b/system/transfer.lua
index d16c6b3..cc25dac 100644
--- a/system/transfer.lua
+++ b/system/transfer.lua
@@ -2,6 +2,12 @@ term.clear()
term.setCursorPos(1,1)
term.setTextColor(colors.white)
print("Welcome to the bits-UI transfer!")
+sleep(2)
if fs.exists("/disk") then
shell.run("copy", "/home", "/disk")
+ shell.run("copy", "/etc/passwd.pwd", "/disk")
+else
+ print("You need a floppy disk to copy over data.")
+ print("Installation has been halted.")
+ sleep(2)
end \ No newline at end of file