#!/bin/sh
#
# $Header: olsoidsync.sbs 02-feb-2007.03:38:23 swkannan Exp $
#
# Copyright (c) 2002, 2007, Oracle. All rights reserved.  
#
#    NAME
#      olsoidsync - Shell script to run the OID/OLS bootstrap utility
#
#    DESCRIPTION
#      Runs the OID/OLS bootstrap utility.  This file comes in two
#      forms its original, with a .sbs extension, and its final, without
#      a .sbs extension.  The .sbs version is source for the final
#      version which the Oracle Universal Installer creates by
#      doing variable substitution at install time.
#
#    MODIFIED   (MM/DD/YY)
#    swkannan    02/02/07 - Changing ojdbc14 to ojdbc5
#    srtata      02/07/06 - use ojdbc14
#    cchui       08/03/04 - set LD_LIBRARY_PATH 
#    shwong      12/05/02 - shwong_bug-2681695
#    shwong      12/04/02 - Created

# Unset any existing JAVA_HOME variable to ensure that only
# the JRE we want to use is used.
unset JAVA_HOME

# External Directory Variables set by the Installer
JRE_HOME=/oracle/EPP/11203/jdk/jre/
JLIBDIR=/oracle/EPP/11203/jlib
LIBDIR=/oracle/EPP/11203/jdbc/lib
LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

$JRE_HOME/bin/java -classpath $JLIBDIR/opm.jar:$LIBDIR/ojdbc5.jar oracle.security.ols.policy.Bootstrap $@
