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