Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --to config the system to start the program automatically
- --this file /home/.shrc will autorun programs added after boot.
- local conf= io.open(".shrc","w")
- conf:write("/home/installer.lua")
- conf:close()
- local inst=io.open("installer.lua","w")
- inst:write("local component=require('component')\n if component.isAvailable('internet') then\n os.execute('rm Miner.lua')\n os.execute('pastebin get wexmYA7C Miner.lua') end\n os.execute('Miner.lua')")
- inst:close()
- os.execute("installer.lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement