summaryrefslogtreecommitdiff
path: root/net/openldap20-server/files/slapd.sh
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-11-17 12:19:22 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-11-17 12:19:22 +0000
commitd615f4ca564f838b39bd8b504a3107011d951a03 (patch)
treed799b77773a040bd9f634696266507c9072dd071 /net/openldap20-server/files/slapd.sh
parentRemove do-package target that was running "make package" in (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_2_0'.release/4.2.0
Diffstat (limited to 'net/openldap20-server/files/slapd.sh')
-rw-r--r--net/openldap20-server/files/slapd.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/net/openldap20-server/files/slapd.sh b/net/openldap20-server/files/slapd.sh
deleted file mode 100644
index 1704074b7968..000000000000
--- a/net/openldap20-server/files/slapd.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-slapd=@@PREFIX@@/libexec/slapd
-pidfile=/var/run/slapd.pid
-
-case "$1" in
-start)
- if [ -x $slapd ]; then
- echo -n ' slapd'
- $slapd
- fi
- ;;
-stop)
- if [ -f $pidfile ]; then
- kill `cat $pidfile`
- telnet localhost ldap </dev/null >/dev/null 2>&1
- echo -n ' slapd'
- rm $pidfile
- else
- echo ' slapd: not running'
- fi
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0