check_os()
{
	findcmd /usr/bin/cut
	findcmd /usr/bin/uname

	RELEASE_MAJ=`uname -r | cut -f1 -d.`
	RELEASE_MIN=`uname -r | cut -f2 -d.`
	RELEASE_SYS=`uname -s`

	if [ $RELEASE_SYS != SunOS ]; then
		terminate "This script is only suitable for the Solaris environment"
	fi

	if [ $RELEASE_MAJ != 5 ]; then
		terminate "This script is only suitable on Solaris 2 systems"
	fi

	if [ $RELEASE_MIN -lt 3 ]; then
		terminate "This script requires Solaris 2.3 as a minimum release"
	fi
}
