This commit is contained in:
parent
af1a953412
commit
8f02528060
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 12:14:42 CET 2008 - jreuter@suse.de
|
||||
|
||||
- Sleep a second before setting the default device in udev
|
||||
script to give gpsd some time to set up the TCP socket
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 23 15:06:28 CEST 2008 - jreuter@suse.de
|
||||
|
||||
|
@ -24,7 +24,7 @@ License: BSD 3-Clause
|
||||
Url: http://gpsd.berlios.de/
|
||||
Group: Hardware/Other
|
||||
Version: 2.37
|
||||
Release: 68
|
||||
Release: 69
|
||||
Requires: udev
|
||||
PreReq: coreutils %fillup_prereq
|
||||
BuildRequires: gcc-c++ ncurses-devel openmotif openmotif-devel python-devel udev update-desktop-files xmlto
|
||||
@ -243,6 +243,9 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/pixmaps/*.xpm
|
||||
|
||||
%changelog
|
||||
* Wed Nov 19 2008 jreuter@suse.de
|
||||
- Sleep a second before setting the default device in udev
|
||||
script to give gpsd some time to set up the TCP socket
|
||||
* Thu Oct 23 2008 jreuter@suse.de
|
||||
- Disable start of gpsd by udev rule by default and add sysconfig
|
||||
variable to enable it if desired (bnc#432420)
|
||||
|
@ -7,7 +7,7 @@ if [ "${ACTION}" = "remove" ]; then
|
||||
GPSD_PID=$(pidof gpsd)
|
||||
|
||||
if [ -z "$GPSD_PID" ]; then
|
||||
echo "Can't find GPSD!"
|
||||
echo "Can't find gpsd!"
|
||||
else
|
||||
echo "Remove gpsd from pid: ${GPSD_PID}"
|
||||
TTYDEV="/dev/$(basename $DEVPATH)"
|
||||
@ -40,11 +40,11 @@ case "$DEVPATH" in
|
||||
PORT=2947
|
||||
fi
|
||||
|
||||
echo "Action '${ACTION}' Launch GPSD to $TTYDEV with $options"
|
||||
echo "Action '${ACTION}' Launch gpsd to $TTYDEV with $options"
|
||||
|
||||
/usr/sbin/gpsd $options ${TTYDEV}
|
||||
|
||||
echo "${TTYDEV}" > ${DEV_NAME}
|
||||
sleep 1
|
||||
echo "F=$TTYDEV" >/dev/tcp/localhost/$PORT
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user