15 lines
218 B
Plaintext
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
|
|
}
|