gpsdate.init: Make the killing of gpsdate work on the target

When the initscript is called gpsdate it might kill itself before
it has a way to start the new gpsdate process. Use pidof with the
full path to the gpsdate binary to avoid this.
This commit is contained in:
Holger Hans Peter Freyther 2013-06-20 11:15:45 +02:00
parent f07a52709f
commit 0db898e4b8
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ case "$1" in
# This should use start-stop-daemon and create a pid file
echo "Stopping gpsdate in a brutal way"
killall -9 gpsdate
kill -9 `pidof $DAEMON`