#!/bin/sh

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

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


case $OS in

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

exit 0
