[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-users] /etc/default/gpsd
From: |
Charles Curley |
Subject: |
[gpsd-users] /etc/default/gpsd |
Date: |
Sat, 7 Apr 2012 19:35:20 -0600 |
Is /etc/default/gpsd deprecated?
If so, how does one get options to gpsd when launching it from udev
hotplug? And there is a bit of spurious code in gpsd.hotplug.
If not, gpsd.hotplug needs two lines:
address@hidden:~/versioned/gpsd$ git diff
diff --git a/gpsd.hotplug b/gpsd.hotplug
index dd0deaf..04dd24a 100644
--- a/gpsd.hotplug
+++ b/gpsd.hotplug
@@ -24,6 +24,8 @@ 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
address@hidden:~/versioned/gpsd$
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
- [gpsd-users] /etc/default/gpsd,
Charles Curley <=