#!/bin/sh

# Copyright (c) 2005 by Sun Microsystems, Inc.
# All rights reserved
#

# Ensures that the installed OS is Solaris 5.10 or better 


OSVER=`uname -r | awk -F. '{print $2}'`
REQ_OS=5.10
REQOSVER=`echo $REQ_OS | awk -F. '{print $2}'`


# Check for minimum OS level
if [ "$OSVER" -lt "$REQOSVER" ] ; then
        echo "This patch requires SunOS 5.10 or better."
        exit 1;
     else
        exit 0;
fi
