#!/bin/sh
#
#
#       This script copies aside format.dat file that is overwritten by 
#	the patch, so customizations will not be lost.
#

#
# Copy aside the etc/format.dat file so customization will not
# be overwritten.
#
	Date=`date +%m%d%y%M`
        if test -f $ROOTDIR/etc/format.dat
        then
                cp -p $ROOTDIR/etc/format.dat $ROOTDIR/etc/format.dat.$Date
        fi
 
	echo
	echo "The file etc/format.dat was overwritten by this patch"
       	echo "  "
        echo "\n"
        echo "A copy of the original etc/format.dat file was saved "
	echo "under the filename"
        echo "\n"
        echo "          /etc/format.dat.$Date"
        echo "\n"

        echo "The files need to be manually merged if any customizations"
        echo "were done."
	echo
exit 0
