wok-next diff ntp/stuff/ntp @ rev 16381

ARM: add openvpn, openssh, fuse, sshfs-fuse and more
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 04:46:37 2014 +0200 (2014-04-15)
parents a0b8d051ad35
children 7f188676b59c
line diff
     1.1 --- a/ntp/stuff/ntp	Tue Mar 10 09:20:56 2009 +0000
     1.2 +++ b/ntp/stuff/ntp	Tue Apr 15 04:46:37 2014 +0200
     1.3 @@ -25,6 +25,7 @@
     1.4      echo -n "Starting $DESC: $NAME... "
     1.5      $DAEMON $OPTIONS
     1.6      status
     1.7 +    pgrep $DAEMON > $PIDFILE	# it seems that -p doesn't work ?
     1.8      ;;
     1.9    stop)
    1.10      if ! active_pidfile $PIDFILE ntpd ; then
    1.11 @@ -45,6 +46,7 @@
    1.12      kill `cat $PIDFILE`
    1.13      $DAEMON $OPTIONS
    1.14      status
    1.15 +    pgrep $DAEMON > $PIDFILE	# it seems that -p doesn't work ?
    1.16      ;;
    1.17    *)
    1.18      echo ""