#!/bin/sh
# Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
#
# prepatch script to check the OS version

OS=`/usr/bin/uname -r`

if [ -z "$ROOTDIR" ] || [ "$ROOTDIR" = "/" ] ; then
	if [ ${OS} != 5.10 ]; then 
		echo "This patch can only be applied on Solaris 10."
		echo "Please get the appropriate patch for your system."
		exit 1
	fi
fi
