#!/bin/sh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/lpp/bosinst/samples/AE/AS/debugWAS.sh 1.1 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2008,2009 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)38 1.1 src/bos/usr/lpp/bosinst/samples/AE/AS/debugWAS.sh, bosinst, bos720 3/29/09 15:20:18 # # A utility for config WAS. # # usage: this is only meant to be source included in other scripts # set the DEBUG variable to 'true' to enable debug trace DEBUG=true TRACE_FILE=/opt/IBM/AE/AR/ConfigWAS.traceout ## ECHOE="echo -e" UNAME=`uname -s`; if [ "$UNAME" = "AIX" ] then ECHOE="echo" CONFIGWAS7=/opt/IBM/AE/AR WASGROUP=staff else CONFIGWAS7=/usr/share/YaST2/include/configwas7 WASGROUP=users fi ## echodebug() { if [ $DEBUG == 'true' ] ; then echo $* >> $TRACE_FILE fi }