# HG changeset patch # User Pascal Bellard # Date 1371158496 -7200 # Node ID e1f16de14d6eb12533f14180c143756236177b8f # Parent 568a6dc545cea9ab72fcef1042f207fda208c74b ntp: fix start script (thanks emgi) diff -r 568a6dc545ce -r e1f16de14d6e ntp/stuff/ntp --- a/ntp/stuff/ntp Thu Jun 13 17:09:29 2013 +0000 +++ b/ntp/stuff/ntp Thu Jun 13 23:21:36 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 ""