#       Copyright (c) 1990-98 Sun Microsystems, Inc.
#               All Rights Reserved
#
#
# Postpatch script for patch 107237-01
#
#! /bin/sh

# Determine if installation is via jumpstart

echo $BASEDIR | grep '^\/a' > /dev/null
if [ $? = 0 ]
    then
        JUMPSTART=1
    else
        JUMPSTART=0
fi

# Set base directory as appropriate for installation

if [ "$BASEDIR" = '/' ]
then
        PDIR=''
else
        PDIR="$BASEDIR"
fi

# Set path and make exportable

PATH="/bin:/usr/bin:/usr/sbin:$PDIR/bin:$PDIR/usr/bin:$PDIR/usr/sbin"
export PATH

cd $PDIR/opt/SUNWvts/bin
#mv cpudatatest_info.o cpudatatest_info_107237-01.o
#$PDIR/opt/SUNWvts/bin/testrm cpudatatest
#mv cpudatatest_info.o cpudatatest_info_backout.o
#mv cpudatatest_info_107237-01.o cpudatatest_info.o
$PDIR/opt/SUNWvts/bin/testadd cpudatatest
