From 660b1b7fb76f13b3ef2c6051cd1355c61b0d9253 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 10:07:11 +0200 Subject: [PATCH] gpsdate.init: Fix calling stop and start in the initscript Now a stop/start could result in having two gpsdate processes running. They luckily will die once the time has been set. --- gpsdate.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsdate.init b/gpsdate.init index 88317ec..9f8e7f4 100755 --- a/gpsdate.init +++ b/gpsdate.init @@ -59,8 +59,8 @@ case "$1" in force-reload) if [ $run_gpsdate = 0 ]; then exit 0; fi echo "Restarting ${NAME}" - stop - start + $0 stop + $0 start ;; *)