* 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.
# 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
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
require gpsd.inc
-PR = "r3"
+PR = "r4"
require gpsd.inc
-PR = "r4"
+PR = "r5"