therealinsight

Untitled

Jun 9th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. write("BSC Recover/Clean Install PC")
  2. write("Would you like to boot into Recovery Mode? [Y/N]")
  3. local ans = read()
  4. if ans=='y' then
  5.     if fs.exists("/startup") == true then
  6.         shell.run("mv /startup /startupold")
  7.         write("Renamed startup file to startupold")
  8.     end
  9.     shell.run("pastebin get xT34kVYd startup")
  10.     write("Rebooting into Recovery Mode...")
  11.     sleep(2)
  12.     os.reboot()
  13.  
  14. else
  15.     write("Aborted")
  16. end
Add Comment
Please, Sign In to add comment