3 killproc
() { # kill named processes
6 /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
7 [ "$pid" != "" ] && kill $pid
12 ps
-e |
grep xntpd
> /dev
/null
2>&1
15 echo "ntp daemon already running. ntp start aborted"
18 if [ -f /etc
/inet
/ntp.conf
-a -x /usr
/sbin
/xntpd
]
20 /usr
/sbin
/xntpd
-c /etc
/inet
/ntp.conf
27 echo "Usage: /etc/init.d/xntp { start | stop }"