summaryrefslogtreecommitdiff
path: root/packages/gpsd/files
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-10-06 23:54:18 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-10-06 23:54:18 +0000
commit8c838676d5f07387ad3138824804c315fa5e5765 (patch)
treeee0fa9404c173713bd22726ac656d9ec9cd56557 /packages/gpsd/files
parent7173f65e20f5ba6ce37216ff8e0e5fbba958edba (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/files')
-rwxr-xr-xpackages/gpsd/files/gpsd6
1 files changed, 1 insertions, 5 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