#!/bin/sh -f

module=modules/fwmod.5.5.o

now=`date +%y%m%d-%H:%M.%S`
product="Solstice FireWall-1"
version="v3.0"
hpux=0
aix=0
shell_if="if"
FWDIR=/opt/SUNWfw
OSREL=`/usr/bin/uname -r | sed 's/\./\ /' | awk '{print $1}'`

#
# default installation directory
#
if [ $OSREL -eq 5 ]; then
	FWDIR=/opt/SUNWfw
	solaris2=1
	sunos4=0	
else
	FWDIR=/usr/local/fw
	solaris2=0
	sunos4=1
fi
ans=i
export now module product version solaris2 hpux FWDIR ans sunos4
export aix shell_if

if [ -f /opt/SUNWfw/scripts/kmodule ]; then
	export FWDIR
	cd /opt/SUNWfw
	scripts/fwshutdown
	scripts/kmodule
fi

echo ""
echo "*******************************************************************************"
echo "                        DON'T FORGET TO:"
echo "1. add the line:    setenv FWDIR $FWDIR		to .cshrc"
echo "                or  FWDIR=$FWDIR; export FWDIR	to .profile"
echo "2. add  \$FWDIR/bin  to path"
echo "3. add  \$FWDIR/man  to MANPATH environment"
echo "*******************************************************************************"
echo ""

echo "-------------------------------------------------------------------------------"
echo "Note:   This product requires separate installation of a license before"
echo "        use. Please consult your Solstice FireWall-1 Administrator's"
echo "        Guide for information on how to obtain and install a license"
echo "        for Solstice FireWall-1."
echo "-------------------------------------------------------------------------------"
echo ""

echo "-------------------------------------------------------------------------------"
echo "Important:    Please run fwconfig to install the license and to "
echo "              configure $product. "
echo "-------------------------------------------------------------------------------"

exit 0



