OBS User unknown 2008-11-20 14:25:03 +00:00 committed by Git OBS Bridge
parent af1a953412
commit 8f02528060
3 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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)

View File

@ -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