Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local setdisk = pcall(diskcheck)
- function diskcheck
- {
- print("Checking Disk...")
- shell.setDir("disk")
- }
- if diskcheck
- {
- print("Proceeding.")
- }
- else
- {
- print("Error: Please insert disk.")
- exit()
- }
- shell.run("label set MinerOS")
- local setup fs.open("startup", "w")
- setup.writeLine("shell.run('pastebin get CmY8NrBx installsecond.lua'); shell.run('installsecond.lua')")
- setup.close()
- shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment