Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- startup="shell.run('receive')"
- test=""
- file=fs.open("startup","r")
- x=file.readLine()
- file.close()
- file=fs.open("startup","a")
- if x=="shell.run('updater')" then
- file.writeLine(test)
- file.writeLine(startup)
- end
- file.close()
- cid=os.getComputerID()
- os.setComputerLabel("Receiver #"..cid)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement