#! /bin/sh
# newt300log Version 1.0
# Copyright(c) 2000, by Sun Microsystems, Inc.
# All rights reserved.
#
#ident @Z%newt300log
#
LOG=messages.t300
cd /var/adm
test -f $LOG.2 && mv $LOG.2 $LOG.3
test -f $LOG.1 && mv $LOG.1 $LOG.2
test -f $LOG.0 && mv $LOG.0 $LOG.1
mv $LOG   $LOG.0
cp /dev/null $LOG
chmod 644    $LOG
#
#
kill -HUP `cat /etc/syslog.pid`
date "+%h %d %H:%M:%S `uname -n` unix: starting new log file" >> $LOG
