#!/bin/sh

ARCH=`uname -m`
OS=`uname -r`

if [ $ARCH != "sun4u" ]; then
	echo "This package can only be installed on sun4u"
	echo "This script will now exit"
	echo ""
	exit 1
fi

case $OS in

	5.5.1*)
		break;;
	2.5.1*)
		break;;
	*)
	echo "This package can only be installed on Solaris 2.5.1"
	echo "This script will now exit"
	echo ""
	exit 1
esac

exit 0
