Blame tests/p_ntp/5-start-check.sh

Steve Barnes e801dc
#!/bin/bash
Steve Barnes e801dc
Steve Barnes e801dc
# Start NTPd services and confirm it's running.
Steve Barnes e801dc
Steve Barnes e801dc
chkconfig ntpd on
Steve Barnes e801dc
service ntpd start
Steve Barnes e801dc
Steve Barnes e801dc
NTPD_PID=$(pidof ntpd)
Steve Barnes e801dc
Steve Barnes e801dc
[ -z "$NTPD_PID" ] && { t_Log "FAIL: couldn't find 'ntpd' in the process list."; exit $FAIL; }