From b5d073f7a60656a5ce3cc321c8f4e3a15929086b Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 2 Oct 2018 17:09:48 -0700 Subject: www/gpsdctl.html: Add untracked html page. --- www/gpsdctl.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 www/gpsdctl.html (limited to 'www') diff --git a/www/gpsdctl.html b/www/gpsdctl.html new file mode 100644 index 00000000..a28d1e6e --- /dev/null +++ b/www/gpsdctl.html @@ -0,0 +1,25 @@ +gpsdctl

Name

gpsdctl — tool for sending commands to gpsd over its control socket

Synopsis

gpdsctl action device

DESCRIPTION

This is a tool for sending an instance of +gpsd commands over its control socket to +add or remove devices from the daemon's device list. It is not +intended to be called by users, but rather by the Linux hotplug +system and similar facilities.

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.

GPSD_OPTIONS +may be a list of options to be passed to gpsd +when this tool launches it. It defaults to an empty string.

RETURN VALUES

1 if the action was unknown or the write to the control socket +failed, 0 otherwise

SEE ALSO

+gpsd(8), +gpsctl(1), +gps(1), +libgps(3), +libgpsmm(3), +gpsprof(1), +gpsfake(1). +

AUTHOR

Eric S. Raymond .

-- cgit v1.2.1