dsreplication revision 0f8553e2af5fc49a510ecfcfc93e66d06713f631
18669N/A#!/bin/sh
18669N/A#
18669N/A# CDDL HEADER START
18669N/A#
18669N/A# The contents of this file are subject to the terms of the
18669N/A# Common Development and Distribution License, Version 1.0 only
18669N/A# (the "License"). You may not use this file except in compliance
18669N/A# with the License.
18669N/A#
18669N/A# You can obtain a copy of the license at
18669N/A# trunk/opends/resource/legal-notices/OpenDS.LICENSE
18669N/A# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
18669N/A# See the License for the specific language governing permissions
18669N/A# and limitations under the License.
18669N/A#
18669N/A# When distributing Covered Code, include this CDDL HEADER in each
18669N/A# file and include the License file at
18669N/A# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
18669N/A# add the following below this CDDL HEADER, with the fields enclosed
18669N/A# by brackets "[]" replaced with your own identifying information:
18669N/A# Portions Copyright [yyyy] [name of copyright owner]
18669N/A#
18669N/A# CDDL HEADER END
18669N/A#
18669N/A#
18669N/A# Copyright 2008-2010 Sun Microsystems, Inc.
18669N/A# Portions Copyright 2011 ForgeRock AS
18669N/A
18669N/A
18669N/A# This script may be used to perform some replication specific operations.
18669N/AOPENDJ_INVOKE_CLASS="org.opends.server.tools.dsreplication.ReplicationCliMain"
18669N/Aexport OPENDJ_INVOKE_CLASS
18669N/A
18669N/ASCRIPT_DIR=`dirname "${0}"`
18669N/A
18669N/Aif test "${RECURSIVE_LOCAL_CALL}" = "true"
18669N/Athen
18669N/A SCRIPT_ARGS=""
18669N/A export SCRIPT_ARGS
SCRIPT_NAME="dsreplication.offline"
export SCRIPT_NAME
else
SCRIPT_ARGS="-Dorg.opends.server.dsreplicationcallstatus=firstcall"
export SCRIPT_ARGS
SCRIPT_NAME="dsreplication"
export SCRIPT_NAME
fi
"${SCRIPT_DIR}/../lib/_server-script.sh" "${@}"