check if setupntp works on RHEL7.
Check this documentation
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7-Beta/html/System_Administrators_Guide/chap-Configuring_the_Date_and_Time.html#sect-Configuring_the_Date_and_Time-timedatectl-Time_Zone
A new command timedatectl has been introduced to do all the work. See the doc link. Maybe should investigate in the future.
Checked out the script on RHEL7 and it does work although we should change the service calls and chkconfigs for ntp to systemctl.
Last edit: Lissa Valletta 2014-05-19