#!/bin/sh

FOREVER="1"

while [ $FOREVER = "1" ]
do
	. /etc/sysconfig/ntp.conf

	if [ $ENABLE = "yes" ]; then
		/usr/sbin/ntpdate $SERVER
	fi
	sleep $PERIOD
done

exit 0
