##!/sbin/sh
##############################################################################
##  Product: FCMassStorage
##  Fileset: FCMS-KRN
##  unconfigure
##  @(#) $Revision: 1.1.98.1 $
##############################################################################
## (c) Copyright Hewlett-Packard Company, 1995
##############################################################################
#
######## setup environment 
#### this script doesn't use anything from UTILS, so don't source it.
#UTILS="/usr/lbin/sw/control_utils"
#if [ ! -f $UTILS ] ; then
#        echo "ERROR:   Cannot find \"$UTILS\"."
#        exit $FAILURE
#
#fi
#. $UTILS
#
####### For now, only do something if the target is an 800 machine
#ARCHITECTURE=`get_arch`
#if [ $ARCHITECTURE -ne "800" ] ; then
#    exit $SUCCESS
#fi
#
######## make sure the kernel config file exists
#if [ ! -r "$SW_SYSTEM_FILE_PATH" ] ; then
#	echo "ERROR:   Cannot find \"$SW_SYSTEM_FILE_PATH\"."
#	exit $FAILURE
#fi
#
#
######## remove our entries in the kernel config file
#
#EXITVAL=$SUCCESS
#RES_FCGSCFCP=$SUCCESS
#RES_FCPDEV=$SUCCESS
#RES_FCPMUX=$SUCCESS
#
#mod_systemfile $SW_SYSTEM_FILE_PATH -d fcgsc_fcp
#RES_FCGSCFCP=$?
#mod_systemfile $SW_SYSTEM_FILE_PATH -d fcpdev
#RES_FCPDEV=$?
#mod_systemfile $SW_SYSTEM_FILE_PATH -d fcpmux
#RES_FCPMUX=$?
#
#if [ $RES_FCGSCFCP -ne $SUCCESS ] ; then
#    echo "ERROR:   Cannot modify the kernel configuration file.  The"
#    echo "         fcgsc_fcp driver must be manually deleted from "
#    echo "         the sytem file /stand/system. "
#    EXITVAL=$FAILURE
#fi
#
#if [ $RES_FCPDEV -ne $SUCCESS ] ; then
#    echo "ERROR:   Cannot modify the kernel configuration file.  The"
#    echo "         fcpdev driver must be manually deleted from "
#    echo "         the sytem file /stand/system. "
#    EXITVAL=$FAILURE
#fi
#
#if [ $RES_FCPMUX -ne $SUCCESS ] ; then
#    echo "ERROR:   Cannot modify the kernel configuration file.  The"
#    echo "         fcpmux driver must be manually deleted from "
#    echo "         the sytem file /stand/system. "
#    EXITVAL=$FAILURE
#fi
#
#exit $EXITVAL

exit 0 

