diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-06-03 01:21:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:29 -0500 |
commit | 4e363cbe1727fe04018861b3f7d415e8a60cabb8 (patch) | |
tree | 17d75bb6b37866eeebaaf8b9cd299a57633543b2 /system/gpsd/rc.gpsd.new | |
parent | 674a98e3a788c879845416cc5f2952df5a2074d3 (diff) | |
download | slackbuilds-4e363cbe1727fe04018861b3f7d415e8a60cabb8.tar.gz |
system/gpsd: Updated for version 3.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gpsd/rc.gpsd.new')
-rw-r--r-- | system/gpsd/rc.gpsd.new | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/system/gpsd/rc.gpsd.new b/system/gpsd/rc.gpsd.new index 0eee30306a..0db22b9600 100644 --- a/system/gpsd/rc.gpsd.new +++ b/system/gpsd/rc.gpsd.new @@ -12,8 +12,9 @@ gpsd_start() { - if [ ! -x /lib/udev/gpsd.hotplug.wrapper ]; then - echo "$(basename $0): /lib/udev/gpsd.hotplug.wrapper not found (or not executable); cannot start." + if [ ! -x /lib/udev/gpsd.hotplug ]; then + echo "$(basename $0): /lib/udev/gpsd.hotplug not found (or not executable); cannot start." + exit 1 fi if [ -r /etc/rc.d/rc.gpsd.conf ]; then @@ -27,7 +28,7 @@ gpsd_start() { for DEVNAME in $GPSD_DEVICES; do if [ -e $DEVNAME ]; then echo "$(basename $0): Starting gpsd for $DEVNAME" - ACTION=add DEVNAME=$DEVNAME /lib/udev/gpsd.hotplug.wrapper + ACTION=add DEVNAME=$DEVNAME /lib/udev/gpsd.hotplug else echo "$(basename $0): $DEVNAME not found, gpsd not started" fi |