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