-- Runs a GPS host at boot with fixed coordinates. local x, y, z = 0, 64, 0 -- TODO: set these to this computer's GPS host coordinates -- If your modem isn't on a default side, open rednet explicitly (optional). -- Example: -- local side = "top" -- if peripheral.getType(side) == "modem" and not rednet.isOpen(side) then rednet.open(side) end shell.run("gps", "host", tostring(x), tostring(y), tostring(z))