bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone
Blob Blame History Raw
#!/bin/bash

# Start NTPd services and confirm it's running.

chkconfig ntpd on
service ntpd start

NTPD_PID=$(pidof ntpd)

[ -z "$NTPD_PID" ] && { t_Log "FAIL: couldn't find 'ntpd' in the process list."; exit $FAIL; }