summaryrefslogtreecommitdiff
path: root/gpsd.hotplug.wrapper
Commit message (Collapse)AuthorAgeFilesLines
* Apply Charles Curley's fix from <20101009162503.60c5064a@dragon.localdomain>.Eric S. Raymond2010-12-171-1/+1
| | | | | | | | | | | | | | He says: If you have just rebooted and not otherwise launched gpsd, plugging in a gps creates the device file properly, but does not launch gpsd. The problem is the test for ${GPSD_SOCKET} in line 35 of gpsd.hotplug.wrapper. If you have just rebooted, the socket doesn't exist, so the test fails. My workaround is to remove the test. It sucks that udev is such a moving target.
* Make the hotplug wrapper work when USBAUTO is not set.Miroslav Lichvar2010-09-151-3/+8
| | | | | | | | | | | | The wrapper doesn't seem to work when USBAUTO is not set, this is because [ -n ] gives different result than [ -n "" ], addressed by the attached patch. It includes also the options remapping to be consistent with the rpm init script and sysconfig file, and adds /usr/sbin to PATH which is needed on some systems to find gpsd in the hotplug script. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Do not wait for mountpoints in hotplug wrapper.Bernd Zeimetz2010-08-051-16/+2
| | | | | | | | | | Udev does not fork, so waiting for mountpoints to appear at boot time will block the boot process until we run into the timeout. A proper implementation would be to fork a process to wait in the background or to handle the not-yet-added devices in the gpsd init script. So this is more a quick fix then the proper solution. See http://bugs.debian.org/591324 for details.
* Read sysconfig file in hotplug wrapper.Bernd Zeimetz2010-07-121-0/+8
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-1/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+3
|
* Fix a wrong test in gpsd.hotplug.wrapper.Bernd Zeimetz2009-12-181-1/+1
| | | | | Debian bug #561574 Thanks to Luca Niccoli for the report.
* gpsd.hotplug.wrapper needs to export environment settings for gpsd.hotplug.Bernd Zeimetz2009-11-181-0/+4
|
* Don't check for "$START_DAEMON" = "true" in gpsd.hotplug.wrapper anymore.Bernd Zeimetz2009-11-011-1/+0
|
* Remove bashisms from gpsd.hotplug.wrapper and use /bin/sh.Bernd Zeimetz2009-11-011-3/+3
|
* In gpsd.hotplug.wrapper also check if gpsd is started automatically.Bernd Zeimetz2009-06-281-0/+1
| | | | | This change should affect distributions which use /etc/default/gpsd in a way similar to Debian.
* Allow to disable the hotplug wrapper.Bernd Zeimetz2009-05-241-0/+5
| | | | We reuse /etc/default/gpsd for that.
* Fix tracker bug #13605, hotplug breakage due to changes in udev.Eric S. Raymond2009-02-111-2/+13
|
* Remove action for the hotplug wrapper, from Mikkel L. Ellertson.Eric S. Raymond2008-01-211-0/+7
|
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* Documentation fixes. Add Tilman's udev stuff.Eric S. Raymond2006-07-261-0/+9