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