From ff831ea34a76f8fc22147f1ddb198de4872a2936 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 25 Jun 2011 13:19:44 -0400 Subject: Add some more documentation. --- gpsd.hotplug | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gpsd.hotplug') diff --git a/gpsd.hotplug b/gpsd.hotplug index 65531d9d..dd0deafa 100644 --- a/gpsd.hotplug +++ b/gpsd.hotplug @@ -2,10 +2,20 @@ # # This script is the gpsd udev handler for add/remove events on matched USB # devices. It expects to see the following environment variables: +# # ACTION = either "add" or "remove" # DEVNAME = the full name of the USB device that was just activated +# +# It will accept from /etc/sysconfig/gpsd the following config variables: +# +# CONTROL_SOCKET = location of the gpsd control socket +# OPTIONS = options to be passed to gpsd on launch +# # It hands off to gpsdctl for the actual communication with the daemon. # +# Do not introduce bashims into this script, as we want it to continue to +# work under Ubuntu. +# # This file is Copyright (c) 2010 by the GPSD project # BSD terms apply: see the file COPYING in the distribution root for details. -- cgit v1.2.1