_mixed-script.sh revision 3215
2976N/A# The contents of this file are subject to the terms of the 2976N/A# Common Development and Distribution License, Version 1.0 only 2976N/A# (the "License"). You may not use this file except in compliance 2976N/A# You can obtain a copy of the license at 2976N/A# See the License for the specific language governing permissions 2976N/A# and limitations under the License. 2976N/A# When distributing Covered Code, include this CDDL HEADER in each 2976N/A# file and include the License file at 2976N/A# add the following below this CDDL HEADER, with the fields enclosed 2976N/A# by brackets "[]" replaced with your own identifying information: 2976N/A# Portions Copyright [yyyy] [name of copyright owner] 3215N/A# Copyright 2008 Sun Microsystems, Inc. 2976N/A# This script is used to invoke processes that might be run on server or 2976N/A# in client mode (depending on the state of the server and the arguments 2976N/A# passed). It should not be invoked directly by end users. 2976N/Aif test -z
"${OPENDS_INVOKE_CLASS}" 2976N/A echo "ERROR: OPENDS_INVOKE_CLASS environment variable is not set." 2976N/A# Capture the current working directory so that we can change to it later. 2976N/A# Then capture the location of this script and the Directory Server instance 2976N/A# root so that we can use them to create appropriate paths. 2976N/A# Check whether is local or remote 2976N/A # Set the environment to use the offline properties 2976N/A # Launch the server utility.