Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local response = http and http.get("https://pastebin.com/Q03kuCpD")
- if response then
- if not fs.exists("/usr/bin") then fs.makeDir("/usr/bin") end
- local handle = io.open("/usr/bin/packman", "w")
- if handle then
- handle:write(response.readAll())
- handle:close()
- else
- error("Could not write /usr/bin/packman")
- end
- response.close()
- else
- error("Could not fetch packman")
- end
- shell.run("/usr/bin/packman fetch force install easy-shell")
- shell.run("packman install nsh vncd nsh-get nsh-put")
Add Comment
Please, Sign In to add comment