rebuild-index revision 9da44d3de0a7180285a77b7e8d2426a72aca249e
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#!/bin/sh
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# CDDL HEADER START
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# The contents of this file are subject to the terms of the
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# Common Development and Distribution License, Version 1.0 only
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# (the "License"). You may not use this file except in compliance
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# with the License.
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# You can obtain a copy of the license at
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# trunk/opends/resource/legal-notices/OpenDS.LICENSE
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# See the License for the specific language governing permissions
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# and limitations under the License.
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# When distributing Covered Code, include this CDDL HEADER in each
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# file and include the License file at
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# add the following below this CDDL HEADER, with the fields enclosed
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# by brackets "[]" replaced with your own identifying information:
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# Portions Copyright [yyyy] [name of copyright owner]
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# CDDL HEADER END
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli#
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# Portions Copyright 2006-2007 Sun Microsystems, Inc.
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# This script may be used to rebuild the contents of a Directory
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli# Server backend storing its data in the Berkeley DB Java Edition.
8d5d64c1542b43ea015b687d48b0d122d2a61e03boliOPENDS_INVOKE_CLASS="org.opends.server.tools.RebuildIndex"
8d5d64c1542b43ea015b687d48b0d122d2a61e03boliexport OPENDS_INVOKE_CLASS
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergaraSCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=rebuild-index"
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergaraexport SCRIPT_NAME_ARG
8d5d64c1542b43ea015b687d48b0d122d2a61e03boli
8d5d64c1542b43ea015b687d48b0d122d2a61e03boliSCRIPT_DIR=`dirname "${0}"`
9da44d3de0a7180285a77b7e8d2426a72aca249ejvergara"${SCRIPT_DIR}/../lib/_server-script.sh" "${@}"