summaryrefslogtreecommitdiff
path: root/gpsd.hotplug
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-13 12:33:46 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-13 12:33:46 -0400
commit2db6137d7eb8d0ec7d0c1fb34e17dcb2f60b4f9d (patch)
treedc6f1f8d75cc15e1e8b9a278d5b9efae4605c284 /gpsd.hotplug
parent6e0db325ded2b6fbbefed4afce84d06a6fcaba23 (diff)
downloadgpsd-2db6137d7eb8d0ec7d0c1fb34e17dcb2f60b4f9d.tar.gz
Revert "Make it possible to pass in options via /etc/default/gpsd"
bzed says this will break modern Debian and Ubuntu installations by stepping on the values of GPSD_OPTIONS and GPSD_SOCKET.
Diffstat (limited to 'gpsd.hotplug')
-rw-r--r--gpsd.hotplug5
1 files changed, 1 insertions, 4 deletions
diff --git a/gpsd.hotplug b/gpsd.hotplug
index 7aca86cd..dd0deafa 100644
--- a/gpsd.hotplug
+++ b/gpsd.hotplug
@@ -6,8 +6,7 @@
# ACTION = either "add" or "remove"
# DEVNAME = the full name of the USB device that was just activated
#
-# It will accept from /etc/sysconfig/gpsd or /etc/default/gpsd
-# the following config variables:
+# 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
@@ -25,8 +24,6 @@ export PATH
if [ -r /etc/default/gpsd ]; then
. /etc/default/gpsd
- GPSD_OPTIONS=$OPTIONS
- GPSD_SOCKET=$CONTROL_SOCKET
elif [ -r /etc/sysconfig/gpsd ]; then
. /etc/sysconfig/gpsd
GPSD_OPTIONS=$OPTIONS