Cdiff sczbt_register.ksh
*** /workspace/tf84964/oscds-6662001-6610950/webrev/usr/src/cmd/ha-services/gds-agents/zone/sczbt/sczbt_register.ksh- Wed Apr 2 07:44:02 2008
--- sczbt_register.ksh Wed Apr 2 07:38:56 2008
*** 19,29 ****
#
# CDDL HEADER END
#
#
! # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
# This script has the optional -f option:
--- 19,29 ----
#
# CDDL HEADER END
#
#
! # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
# This script has the optional -f option:
*** 128,138 ****
fi
# Checking dependencies for SC_NETWORK=true
! SC_NETWORK=`echo ${SC_NETWORK}|/usr/bin/tr [:upper:] [:lower:]`
if [ "${SC_NETWORK}" == "true" -a -z "${SC_LH}" ]
then
echo "Error: SC_LH is required with SC_NETWORK=true"
rm ${PARAMETERDIR}/sczbt_${RS}
--- 128,138 ----
fi
# Checking dependencies for SC_NETWORK=true
! SC_NETWORK=`echo ${SC_NETWORK} | /usr/xpg4/bin/tr [:upper:] [:lower:]`
if [ "${SC_NETWORK}" == "true" -a -z "${SC_LH}" ]
then
echo "Error: SC_LH is required with SC_NETWORK=true"
rm ${PARAMETERDIR}/sczbt_${RS}
*** 151,161 ****
exit 1
fi
# Checking dependencies for FAILOVER=true
! FAILOVER=`echo ${FAILOVER}|/usr/bin/tr [:upper:] [:lower:]`
if [ "${FAILOVER}" == "true" -a -z "${HAS_RS}" ]
then
echo "Error: HAS_RS is required with FAILOVER=true"
rm ${PARAMETERDIR}/sczbt_${RS}
--- 151,161 ----
exit 1
fi
# Checking dependencies for FAILOVER=true
! FAILOVER=`echo ${FAILOVER} | /usr/xpg4/bin/tr [:upper:] [:lower:]`
if [ "${FAILOVER}" == "true" -a -z "${HAS_RS}" ]
then
echo "Error: HAS_RS is required with FAILOVER=true"
rm ${PARAMETERDIR}/sczbt_${RS}