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