Advertisement
sanovskiy

Untitled

Nov 12th, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. shell.run("pastebin", "get wf2EBfvT san")
  2. shell.run("san", "install reactor")
  3. rConf={}
  4. rConf["SideReactor"] = "back"
  5. rConf["SideMFSU"] = "bottom"
  6. rConf["SideMonitor"] = "top"
  7. shell.run("rm", "reactor.conf")
  8. fConfig = fs.open("reactor.conf", "w") or error("Cannot open file reactor.conf", 2)
  9. fConfig.write(textutils.serialize(rConf))
  10. fConfig.close()
  11.  
  12. shell.run("rm", "startup")
  13. sfile= fs.open("startup", "w") or error("Cannot open file reactor.conf", 2)
  14. sfile.write("shell.run(\"reactor\")")
  15. sfile.close()
  16. os.setComputerLabel("Reactor")
  17. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement