mirror of
https://github.com/kepler155c/opus
synced 2024-11-15 21:24:49 +00:00
15 lines
367 B
Lua
15 lines
367 B
Lua
if _G.device.wireless_modem then
|
|
|
|
_G.requireInjector()
|
|
local Config = require('config')
|
|
|
|
local config = { }
|
|
Config.load('gps', config)
|
|
|
|
if config.host and type(config.host) == 'table' then
|
|
_ENV._APP_TITLE = 'GPS Daemon'
|
|
os.run(_ENV, '/rom/programs/gps', 'host', config.host.x, config.host.y, config.host.z)
|
|
print('GPS daemon stopped')
|
|
end
|
|
end
|