1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/cyrus-sasl/files/pwcheck.sh
Steve Price 54ea5fa715 Adding cyrus-sasl version 1.5.13.
An RFC 2222 SASL (Simple Authentication and Security Layer).

PR:		14619
Submitted by:	Scot W. Hetzel <hetzels@westbend.net>
1999-12-27 01:52:25 +00:00

29 lines
319 B
Bash

#!/bin/sh
#
PREFIX=/usr/local
case "$1" in
start)
if [ -x ${PREFIX}/sbin/pwcheck ]
then
${PREFIX}/sbin/pwcheck & && echo -n " pwcheck"
fi
;;
stop)
if [ -r /var/run/pwcheck.pid ]
then
kill `cat /var/run/pwcheck.pid` && echo -n " pwcheck"
fi
;;
*)
echo "usage: $0 {start|stop}" 1>&2
exit 64
;;
esac