Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- background = colors.gray
- shellcolor = colors.green
- logocolor = colors.orange
- term.setTextColor(colors.orange)
- term.setBackgroundColor(colors.gray)
- shell.run("clear")
- y = 1
- function out(string)
- term.setCursorPos(1,y)
- write(string)
- y = y + 1
- if y >= 19 then
- shell.run("clear")
- y = 1
- end
- term.setCursorPos(1,y)
- end
- out("OpenShell")
- term.setTextColor(colors.green)
- out("//$: Installing")
- if fs.exists("startup") then
- fs.delete("startup")
- end
- local file = fs.open("startup","w")
- local data = http.get("https://www.dropbox.com/s/qwliuarg3y4z1ep/startup?dl=1")
- file.write(data.readAll())
- file.close()
- out("//$: Install has completed.")
- sleep(2)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement