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#
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# or http://forgerock.org/license/CDDLv1.0.html.
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
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# file and include the License file at legal-notices/CDDLv1_0.txt.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# 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