diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 15:25:12 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 15:25:12 -0500 |
| commit | 59acb51a3297917dd8eebc84ea85abd91e7803df (patch) | |
| tree | 974eef8030e1bc1e49017a38c7ffa31b00f5f47a /System/recovery | |
| parent | fb04d5143b20194f98955bd2d151cc80ef00c1a9 (diff) | |
| download | bits-UI-59acb51a3297917dd8eebc84ea85abd91e7803df.tar.gz bits-UI-59acb51a3297917dd8eebc84ea85abd91e7803df.tar.bz2 bits-UI-59acb51a3297917dd8eebc84ea85abd91e7803df.zip | |
Some fixes with files; Reduced sleep on boot
Diffstat (limited to 'System/recovery')
| -rw-r--r-- | System/recovery/main.lua | 4 | ||||
| -rw-r--r-- | System/recovery/reset.lua | 2 | ||||
| -rw-r--r-- | System/recovery/transfer.lua | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/System/recovery/main.lua b/System/recovery/main.lua index 10fbe18..15c51aa 100644 --- a/System/recovery/main.lua +++ b/System/recovery/main.lua @@ -21,9 +21,9 @@ sleep(2) print("Do you want to either reset or transfer?") local input = read(); if input == "reset" then - shell.run("/system/recovery/reset.lua") + shell.run("/System/recovery/reset.lua") elseif input == "transfer" then - shell.run("/system/recovery/transfer.lua") + shell.run("/System/recovery/transfer.lua") else os.reboot() end
\ No newline at end of file diff --git a/System/recovery/reset.lua b/System/recovery/reset.lua index a8c8cf1..c96a304 100644 --- a/System/recovery/reset.lua +++ b/System/recovery/reset.lua @@ -23,7 +23,7 @@ print("Are you sure you want to reset bits-UI? (y/n)") local input = read() if input == "y" then print("Erasing all user stored data...") - fs.delete("/home") + fs.delete("/Home") fs.delete("/etc/passwd.pwd") sleep(2) print("Erased all data...") diff --git a/System/recovery/transfer.lua b/System/recovery/transfer.lua index b1b98f1..996d4b0 100644 --- a/System/recovery/transfer.lua +++ b/System/recovery/transfer.lua @@ -19,7 +19,7 @@ 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", "/Home", "/disk")
shell.run("copy", "/etc/passwd.pwd", "/disk")
else
print("You need a floppy disk to copy over data.")
|
