diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-10-06 23:54:18 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-10-06 23:54:18 +0000 |
commit | 8c838676d5f07387ad3138824804c315fa5e5765 (patch) | |
tree | ee0fa9404c173713bd22726ac656d9ec9cd56557 /packages/gpsd | |
parent | 7173f65e20f5ba6ce37216ff8e0e5fbba958edba (diff) |
gpsd: Cleanup startup script.
* 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.
Diffstat (limited to 'packages/gpsd')
-rwxr-xr-x | packages/gpsd/files/gpsd | 6 | ||||
-rw-r--r-- | packages/gpsd/gpsd_2.28.bb | 2 | ||||
-rw-r--r-- | packages/gpsd/gpsd_2.34.bb | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/packages/gpsd/files/gpsd b/packages/gpsd/files/gpsd index 2cf26c5f3a..3a14867f8a 100755 --- a/packages/gpsd/files/gpsd +++ b/packages/gpsd/files/gpsd @@ -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 diff --git a/packages/gpsd/gpsd_2.28.bb b/packages/gpsd/gpsd_2.28.bb index d51d088807..c16de2e951 100644 --- a/packages/gpsd/gpsd_2.28.bb +++ b/packages/gpsd/gpsd_2.28.bb @@ -1,2 +1,2 @@ require gpsd.inc -PR = "r3" +PR = "r4" diff --git a/packages/gpsd/gpsd_2.34.bb b/packages/gpsd/gpsd_2.34.bb index 1399dba53b..32cb4b925d 100644 --- a/packages/gpsd/gpsd_2.34.bb +++ b/packages/gpsd/gpsd_2.34.bb @@ -1,4 +1,4 @@ require gpsd.inc -PR = "r4" +PR = "r5" |