#!/bin/sh
# to synchronize time ....call from cron
#$Id: synchtime,v 1.1.6.1 2006/12/01 19:11:57 pvigliet Exp $
#$Log: synchtime,v $
#Revision 1.1.6.1  2006/12/01 19:11:57  pvigliet
#No code change. Commit for Clearcase migration.
#
#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
