diff options
Diffstat (limited to 'system/recovery')
| -rw-r--r-- | system/recovery/main.lua | 4 | ||||
| -rw-r--r-- | system/recovery/reset.lua | 4 | ||||
| -rw-r--r-- | system/recovery/transfer.lua | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/system/recovery/main.lua b/system/recovery/main.lua index 944e168..10fbe18 100644 --- a/system/recovery/main.lua +++ b/system/recovery/main.lua @@ -1,6 +1,6 @@ --[[ bits-UI Recovery Script: A script that's going to show you to either reset the computer or transfer files. - Copyright (C) 2019 Alee14 + Copyright (C) 2020 Alee14 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,5 +25,5 @@ if input == "reset" then elseif input == "transfer" then shell.run("/system/recovery/transfer.lua") else - shell.run("/startup.lua") + os.reboot() end
\ No newline at end of file diff --git a/system/recovery/reset.lua b/system/recovery/reset.lua index 9b8efb4..a8c8cf1 100644 --- a/system/recovery/reset.lua +++ b/system/recovery/reset.lua @@ -1,6 +1,6 @@ --[[ bits-UI Reset Script: A script that will wipe the system to the default factory settings. - Copyright (C) 2019 Alee14 + Copyright (C) 2020 Alee14 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,5 +32,5 @@ if input == "y" then sleep(3) os.reboot() else - shell.run("startup.lua") + os.reboot() end
\ No newline at end of file diff --git a/system/recovery/transfer.lua b/system/recovery/transfer.lua index 56be78c..b1b98f1 100644 --- a/system/recovery/transfer.lua +++ b/system/recovery/transfer.lua @@ -1,6 +1,6 @@ --[[
bits-UI Transfer Script: A script that will transfer files from one system to the other.
- Copyright (C) 2019 Alee14
+ Copyright (C) 2020 Alee14
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -25,5 +25,5 @@ else print("You need a floppy disk to copy over data.")
print("Transfer has been halted.")
sleep(2)
- shell.run("/startup.lua")
+ os.reboot()
end
\ No newline at end of file |
