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 , 18 years ago | |
|---|---|
| File size: 253 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | if [ -z "$LDBDIR" ]; then |
| 4 | LDBDIR=`dirname $0`/.. |
| 5 | export LDBDIR |
| 6 | fi |
| 7 | |
| 8 | if [ -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 |
| 12 | fi |
Note:
See TracBrowser
for help on using the repository browser.
