gpsd: Cleanup startup script.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sat, 6 Oct 2007 23:54:18 +0000 (23:54 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sat, 6 Oct 2007 23:54:18 +0000 (23:54 +0000)
* gpsd configuration is done via mandatory /etc/defaults/gpsd, remove
confusing defaults from init script.
* Make error reporting more helpful.
* Based on complaints by forum users.

packages/gpsd/files/gpsd
packages/gpsd/gpsd_2.28.bb
packages/gpsd/gpsd_2.34.bb

index 2cf26c5..3a14867 100755 (executable)
@@ -6,10 +6,6 @@
 # description: Gpsd manages access to a serial- or USB-connected GPS
 # processname: gpsd
 
-# If you must specify a non-NMEA driver, uncomment and modify the next line
-#GPSD_OPTS=
-GPS_DEV="/dev/ttyS3"
-
 # Source function library.
 #. /etc/rc.d/init.d/functions
 
@@ -39,7 +35,7 @@ start() {
             echo "success"
        else
            # User needs to symlink ${GPS_DEV} to the right thing
-           echo "No ${GPS_DEV} device, aborting gpsd startup."
+           echo "No ${GPS_DEV} GPS device, aborting gpsd startup. Check /etc/default/$prog"
        fi
        RETVAL=$?
        echo
index d51d088..c16de2e 100644 (file)
@@ -1,2 +1,2 @@
 require gpsd.inc
-PR = "r3"
+PR = "r4"
index 1399dba..32cb4b9 100644 (file)
@@ -1,4 +1,4 @@
 require gpsd.inc
 
-PR = "r4"
+PR = "r5"