gpsdctl (8) - Linux Manuals
gpsdctl: tool for sending commands to gpsd over its control socket
gpsdctl - tool for sending commands to gpsd over its control socket
- gpdsctl action device
The action argument may be "add" or "remove". If no daemon instance is running when an add is requested, this program will launch one.
The "device" argument should be the pathname of a device. A device on the list will be opened to read sensor data whenever a client requests a watch.
Two environment variables are interpreted. GPSD_SOCKET sets the location of the control socket. It defaults to /var/run/gpsd.sock if the effective user ID of this program is root, /tmp/gpsd.sock otherwise.
Eric S. Raymond <esr [at] thyrsus.com>.