#!/bin/sh
#
# $Source$
# $Id$
# $Copyrights$
#

#
# Perform prebackout processing for the VRTSfspro patch.
#
message()
{
	echo
	echo "$@"
}

fatalexit()
{
	message "Please fix the problem and re-run patchrm."
	exit 1
}

################################################################
# fspro.sh is the generalized VEA/VRTSfspro configuration script
################################################################
ret=0
if [ -f $ROOTDIR/opt/VRTSfspro/config/fspro.sh ]
then
	$ROOTDIR/opt/VRTSfspro/config/fspro.sh -p patchrm
fi
[ "$?" -ne 0 ] && fatalexit

ret=0
if [ -f $ROOTDIR/opt/VRTSfspro/config/patch_config.sh ]
then
	$ROOTDIR/opt/VRTSfspro/config/patch_config.sh -p patchrm
fi
[ "$?" -ne 0 ] && fatalexit

exit 0
