diff options
| author | Steve Price <steve@FreeBSD.org> | 1999-12-27 01:52:25 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1999-12-27 01:52:25 +0000 |
| commit | 54ea5fa715f18668aae6e189818f933c5c169921 (patch) | |
| tree | d4bc325b510261da521c928e6ffff574f259de04 /security/cyrus-sasl/files/pwcheck.sh | |
| parent | 94160ce38dc1d34e393359041c73a8af5970588c (diff) | |
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>
Diffstat (limited to 'security/cyrus-sasl/files/pwcheck.sh')
| -rw-r--r-- | security/cyrus-sasl/files/pwcheck.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/security/cyrus-sasl/files/pwcheck.sh b/security/cyrus-sasl/files/pwcheck.sh new file mode 100644 index 000000000000..17c4597433bb --- /dev/null +++ b/security/cyrus-sasl/files/pwcheck.sh @@ -0,0 +1,28 @@ +#!/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 + |
