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