blob: 4c61e0d7ba991d93b342a04651b8c7ead14eaad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
prefix="{{DS-ROOT}}"
LD_LIBRARY_PATH=$prefix/{{SERVER-DIR}}:$prefix@nss_libdir@:$prefix@libdir@:@nss_libdir@
export LD_LIBRARY_PATH
SHLIB_PATH=$prefix/{{SERVER-DIR}}:$prefix@nss_libdir@:$prefix@libdir@:@nss_libdir@
export SHLIB_PATH
cd {{SERVERBIN-DIR}}
if [ $# -lt 4 ]
then
echo "Usage: vlvindex -n backend_instance | {-s includesuffix}* -T attribute"
echo Note: either \"-n backend_instance\" or \"-s includesuffix\" are required.
exit 1
fi
./ns-slapd db2index -D {{CONFIG-DIR}} "$@"
|