#!/bin/sh
# ******************************************************************************
# ***                           IDENTIFICATION                              ***
# ******************************************************************************
# Name:         prepatch
# Title:        SUNWosar prepatch script
# Version:
# Revision:     $Revision:$
# Update Date:  $Date: $
# Programmer:   bem
# Documents:
#
# COPYRIGHT 1996, 1997, 1998, 1999, 2000 by LSI Logic Inc.
#
# Description:  Test to see if on Solaris 8 O/S.  Patch should only be applied
#               to a 2.8 system.
#
#

rel=`grep VERSION $ROOTDIR/var/sadm/system/admin/INST_RELEASE | cut -d= -f2`

if [ $rel = "8" ]
then
	exit 0
else
	echo " "
	echo "This patch only applies to rm6 running on Solaris 8.... exiting"
	echo " "
	exit 1
fi

