Sirshark10

ReROOT

Feb 9th, 2017
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Startup = fs.open("/startup","r")
  2. local StartRead = Startup.readAll()
  3. Startup.close()
  4. fs.delete("/startup")
  5. local nS = fs.open("/startup","w")
  6. nS.writeLine("print('You are running CraftOS with another operating systems filesystem')")
  7. nS.writeLine("--[[")
  8. nS.write(StartRead)
  9. nS.writeLine("]]--")
  10. nS.flush()
  11. nS.close()
  12. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment