[ gpsdrive ] SF.net SVN: gpsdrive:[2204] trunk/scripts

Hamish hamish_b at yahoo.com
Wed Dec 17 19:53:40 AKST 2008


> Revision: 2204
...
> Log Message:
> -----------
> - removed some geo* scripts as they won't work anyhow.
>   also partially addressing debian bug #508595
>
> Removed Paths:
> -------------
>    trunk/scripts/geo-code
>    trunk/scripts/geo-nearest
>    trunk/scripts/gpssmswatch


Hi,

I have no problem with those scripts being removed, they are mostly
off-topic for the project. But for what it's worth, I think they might
still work. ... At least gpssmswatch after yesterday's update to read
the position from gpsd not /tmp/gpssmswatch.pos:

# connect to gpsd to get position & save it to a local enviro variable
POSN_STR=`(echo "P"; sleep 1 ) | telnet localhost 2947 | grep GPSD | cut -f2 -d',' | cut -f2 -d'='`


also (FWIW), if gpssmswatch were to remain I'd add a little test to
skip SMSing the posn if it is unknown:

if [ -z "$POSN_STR" ] || [ "$POSN_STR" = "?" ] ; then
   echo "No fix."
   echo "Sleeping $SECS seconds"
   sleep $SECS
   continue
fi



regards & happy EOY,
Hamish


More information about the GPSdrive mailing list