#!/bin/sh
logfile=/var/adm/pppd_settimelog
/usr/sbin/netdate -l 30 tcp 134.109.2.1 134.109.132.32 134.109.24.88 localhost 2>> $logfile 1>> $logfile
if [ $? -eq 0 ]
then
  /sbin/clock -u -w
  /bin/date
else
  echo error in netdate command
fi

