diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2007-02-21 21:22:08 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2007-02-21 21:22:08 +0000 |
| commit | 4e73e76b8d964ff950bd3c1d105714a18bfd8383 (patch) | |
| tree | 0905287520172c5af80a5c6805d7cfbf37ba9a5e /ldap/admin/src/scripts/template-db2index | |
| parent | fa05437fb16b35caa6337c0d216466a374436a47 (diff) | |
| download | ds-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-db2index')
| -rw-r--r-- | ldap/admin/src/scripts/template-db2index | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ldap/admin/src/scripts/template-db2index b/ldap/admin/src/scripts/template-db2index deleted file mode 100644 index 7350e2cc..00000000 --- a/ldap/admin/src/scripts/template-db2index +++ /dev/null @@ -1,21 +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 [ $# -eq 0 ] -then - bak_dir={{BAK-DIR}}/reindex_`date +%Y_%m_%d_%H_%M_%S` - ./ns-slapd upgradedb -D {{CONFIG-DIR}} -f -a "$bak_dir" -elif [ $# -lt 4 ] -then - echo "Usage: db2index [-n backend_instance | {-s includesuffix}* -t attribute[:indextypes[:matchingrules]] -T vlvattribute]" - exit 1 -else - ./ns-slapd db2index -D {{CONFIG-DIR}} "$@" -fi - |
