import-ldif revision f71f7a61dec7c9089378d14493ad564a1dedf0b5
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#!/bin/sh
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License, Version 1.0 only
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# (the "License"). You may not use this file except in compliance
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# trunk/opends/resource/legal-notices/OpenDS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# add the following below this CDDL HEADER, with the fields enclosed
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# by brackets "[]" replaced with your own identifying information:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Portions Copyright 2006-2007 Sun Microsystems, Inc.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This script may be used to import LDIF data into a Directory Server backend.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinOPENDS_INVOKE_CLASS="org.opends.server.tools.ImportLDIF"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinexport OPENDS_INVOKE_CLASS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=import-ldif"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinexport SCRIPT_NAME_ARG
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSCRIPT_DIR=`dirname "${0}"`
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin"${SCRIPT_DIR}/_server-script.sh" "${@}"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin