diff options
Diffstat (limited to 'net/openldap20/files/slurpd.sh')
-rw-r--r-- | net/openldap20/files/slurpd.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/openldap20/files/slurpd.sh b/net/openldap20/files/slurpd.sh new file mode 100644 index 000000000000..0eafcbeebcd7 --- /dev/null +++ b/net/openldap20/files/slurpd.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ + +slurpd_program=@@PREFIX@@/libexec/slurpd + +slurpd_args= + +case "$1" in +start) + if [ -x ${slurpd_program} ]; then + echo -n ' slurpd' + ${slurpd_program} ${slurpd_args} + fi + ;; +stop) + if ! killall `basename ${slurpd_program}`; then + echo ' slurpd: not running' + fi + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 |