gpsd: Make the stop work with the busybox start-stop-daemon
The stop command did not stop the GPSD. Let the start-stop-daemon command stop the command based only on the PID.
This commit is contained in:
parent
0f3ea35f17
commit
aea5136f30
|
@ -70,7 +70,7 @@ do_stop()
|
|||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
|
||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
|
|
|
@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd"
|
|||
|
||||
EXTRANATIVEPATH += "chrpath-native"
|
||||
|
||||
PR = "r3.5"
|
||||
PR = "r3.6"
|
||||
|
||||
SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
|
||||
file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \
|
||||
|
|
Loading…
Reference in New Issue