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