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