MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/bin/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/bin/olsoidsync

#!/bin/sh
#
# $Header: rdbms/src/server/security/ols/java/jsrc/oracle/security/ols/util/olsoidsyncpre.sbs /main/6 2015/01/23 01:43:11 risgupta Exp $
#
# Copyright (c) 2002, 2014, Oracle and/or its affiliates. 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)
#    risgupta    11/14/14 - Bug 20031696: replace ojdbc6 with 
#                           JDBC_CURRENT_JDK_OPT_JAR
#    srtata      03/11/11 - use ojdbc6.jar
#    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=/opt/oracle/product/18c/dbhomeXE/jdk/jre/
JLIBDIR=/opt/oracle/product/18c/dbhomeXE/jlib
LIBDIR=/opt/oracle/product/18c/dbhomeXE/jdbc/lib
OJDBC=ojdbc8.jar
LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

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

OHA YOOOO