# HG changeset patch # User Pascal Bellard # Date 1371158443 -7200 # Node ID 66108539473c5d6f9d88e8a0efcb39f887b66575 # Parent fce93d257f8970273fe59a4870dd94c34002f519 ntp: fix start script (thanks emgi) diff -r fce93d257f89 -r 66108539473c ntp/stuff/ntp --- a/ntp/stuff/ntp Sun Jun 09 17:02:14 2013 +0200 +++ b/ntp/stuff/ntp Thu Jun 13 23:20:43 2013 +0200 @@ -25,6 +25,7 @@ echo -n "Starting $DESC: $NAME... " $DAEMON $OPTIONS status + pgrep $DAEMON > $PIDFILE # it seems that -p doesn't work ? ;; stop) if ! active_pidfile $PIDFILE ntpd ; then @@ -45,6 +46,7 @@ kill `cat $PIDFILE` $DAEMON $OPTIONS status + pgrep $DAEMON > $PIDFILE # it seems that -p doesn't work ? ;; *) echo ""