#!/usr/bin/qsh
# // THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
# // 5724-I63, 5724-H88, 5655-N01, 5733-W61 (C) COPYRIGHT International Business Machines Corp., 1997, 2006
# // All Rights Reserved * Licensed Materials - Property of IBM
# // US Government Users Restricted Rights - Use, duplication or disclosure
# // restricted by GSA ADP Schedule Contract with IBM Corp.
#
# // DESCRIPTION:
# //     Node uninstall utility. Tool to run only during
# //     uninstall. 

. $(/usr/bin/dirname $0)/setupCmdLine

if [ -z "$JAASSOAP" ]; then
  JAASSOAP="-Djaassoap=off"
fi

${JAVA_HOME}/bin/java ${JAVA_PARM} \
  -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager \
  -Djava.util.logging.configureByServer=true \
  ${JAASSOAP} \
  com.ibm.wsspi.bootstrap.WSPreLauncher \
  -nosplash -application \
  com.ibm.ws.bootstrap.WSLauncher \
  com.ibm.ws.admin.services.NodeUninstallPrep \
    ${CONFIG_ROOT} ${WAS_CELL} ${WAS_NODE} "$@"
