#!/bin/sh
# =====================================================================         
# PROPRIETARY-STATEMENT:                                                        
# Licensed Material - Property of IBM                                           
#                                                                               
# 5724-I63, 5724-H88, 5655-N01, 5733-W61                                        
# (C) Copyright IBM Corp. 1999, 2013                                            
# All Rights Reserved                                                           
# US Government Users Restricted Rights - Use, duplication or                   
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.             
# =====================================================================         
<!-- import documents/data/buildInfo.script -->
# =====================================================================        
#                                                                               
# Initializes the configuration file system.                    
#                                                                              
# =====================================================================        
<!--  Change Activity:                                                -->         
<!--                                                                  -->         
<!-- F908-33863.1 V8.0 20101005 PDOP: Initial version                 -->
<!-- 676719      V8.0  20101102 PDOP: Escape response file values     -->
<!-- 717532      V8.5  20110921 PDOP: Change version to "8.5"         -->
<!-- 739067    V8.5.5  20121113 PDOP: TMPDIR support(renamed BBO855HA)-->
<!-- ================================================================ -->

# Gets path of temporary work directory
workDirPath=$(dirname "$0")
echo "Work directory path is $workDirPath"

# Invokes script to initialize the configuration image
'${zSmpePath}/bin/zInitializeConfigImage.sh' \
 -configRoot '${zConfigMountPoint}/${zWasServerDir}' \ 
 -configOwner '${zAdminUserid}' \
 -configGroup '${zConfigurationGroup}' \
 -installRoot '${zSmpePath}' \
 -version 8.5 \
<!-- if (${zEnableIntermediateSymlink} == true) -->
 -intermediateSymlink '${zIntermediateSymlink}' \
<!-- endif -->
 -workDirectory "$workDirPath"
rc="$?" 
 
exit "$rc"
                                                                              
