1#!/bin/sh 2 3if [ -z "$LDBDIR" ]; then 4 LDBDIR=`dirname $0`/.. 5 export LDBDIR 6fi 7 8if [ -f tests/tmp/slapd.pid ]; then 9 echo "killing slapd process `cat tests/tmp/slapd.pid`" 10 kill -9 `cat tests/tmp/slapd.pid` 11 rm -f tests/tmp/slapd.pid 12fi 13