source: branches/samba-3.2.x/source/lib/ldb/tests/kill_slapd.sh@ 247

Last change on this file since 247 was 133, checked in by Paul Smedley, 18 years ago

Update trunk to 3.2.0pre3

File size: 253 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.