control-panel revision 0f8553e2af5fc49a510ecfcfc93e66d06713f631
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#!/bin/sh
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License, Version 1.0 only
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# (the "License"). You may not use this file except in compliance
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# with the License.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence# You can obtain a copy of the license at
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence# trunk/opends/resource/legal-notices/OpenDS.LICENSE
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater# See the License for the specific language governing permissions
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews# and limitations under the License.
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews#
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews# file and include the License file at
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews# add the following below this CDDL HEADER, with the fields enclosed
b186f1ab91faf6d46d102ecbfd55cbdb7e24feeeMark Andrews# by brackets "[]" replaced with your own identifying information:
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence# Portions Copyright [yyyy] [name of copyright owner]
4be63b1fd8c18dbeca1648d6cf22fa14f057a469David Lawrence#
# CDDL HEADER END
#
#
# Copyright 2008 Sun Microsystems, Inc.
# Portions Copyright 2011 ForgeRock AS
# This script may be used to display the control panel.
OPENDJ_INVOKE_CLASS="org.opends.guitools.controlpanel.ControlPanelLauncher"
export OPENDJ_INVOKE_CLASS
SCRIPT_NAME="control-panel"
export SCRIPT_NAME
NO_CHECK=0
for i in $*
do
if [ "$i" == "-r" ] || [ "$i" == "--remote" ]
then
NO_CHECK=1
fi
done
export NO_CHECK
SCRIPT_DIR=`dirname "${0}"`
"${SCRIPT_DIR}/../lib/_client-script.sh" "${@}"