This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/gpsd/services/gpsd
2013-07-13 17:19:22 +01:00

15 lines
218 B
Plaintext

# Configuration Parameters
# cfg_gpsd_dev: serial port device.
# cfg_gpsd_baud: serial port baud rate.
start()
{
stty -F "$cfg_gpsd_dev" "$cfg_gpsd_baud"
gpsd -n "$cfg_gpsd_dev"
}
stop()
{
killall gpsd
}