summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/template-ldif2db
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-02-21 21:22:08 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-02-21 21:22:08 +0000
commit4e73e76b8d964ff950bd3c1d105714a18bfd8383 (patch)
tree0905287520172c5af80a5c6805d7cfbf37ba9a5e /ldap/admin/src/scripts/template-ldif2db
parentfa05437fb16b35caa6337c0d216466a374436a47 (diff)
downloadds-4e73e76b8d964ff950bd3c1d105714a18bfd8383.tar.gz
ds-4e73e76b8d964ff950bd3c1d105714a18bfd8383.tar.xz
ds-4e73e76b8d964ff950bd3c1d105714a18bfd8383.zip
Resolves: 229576
Summary: clean up template-scriptname which is derived from template-scriptname.in
Diffstat (limited to 'ldap/admin/src/scripts/template-ldif2db')
-rw-r--r--ldap/admin/src/scripts/template-ldif2db20
1 files changed, 0 insertions, 20 deletions
diff --git a/ldap/admin/src/scripts/template-ldif2db b/ldap/admin/src/scripts/template-ldif2db
deleted file mode 100644
index 7bd3a5e8..00000000
--- a/ldap/admin/src/scripts/template-ldif2db
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-prefix="{{DS-ROOT}}"
-LD_LIBRARY_PATH=$prefix/{{SERVER-DIR}}:$prefix/usr/lib/dirsec:$prefix/usr/lib:/usr/lib/dirsec
-export LD_LIBRARY_PATH
-SHLIB_PATH=$prefix/{{SERVER-DIR}}:$prefix/usr/lib/dirsec:$prefix/usr/lib:/usr/lib/dirsec
-export SHLIB_PATH
-
-cd {{SERVERBIN-DIR}}
-if [ $# -lt 4 ]
-then
- echo "Usage: ldif2db -n backend_instance | {-s includesuffix}* [{-x excludesuffix}*]"
- echo " {-i ldiffile}* [-O]"
- echo "Note: either \"-n backend_instance\" or \"-s includesuffix\" and \"-i ldiffile\" are required."
- exit 1
-fi
-
-echo importing data ...
-./ns-slapd ldif2db -D {{CONFIG-DIR}} "$@" 2>&1
-exit $?