#!/bin/sh
# to synchronize time ....call from cron
#$Id: synchtime,v 1.1 2002/05/28 14:41:17 jrumplik Exp $
#$Log: synchtime,v $
#Revision 1.1  2002/05/28 14:41:17  jrumplik
#place into PERIglobl for pkg install in addition to jumpstart install
#
/usr/sbin/ping timeserver1
if [ $? -eq 0 ]; then
	/usr/bin/rdate timeserver1
else
	/usr/sbin/ping timeserver2
	if [ $? -eq 0 ]; then
		/usr/bin/rdate timeserver2
	fi
fi
