freebsd-ports/security/cyrus-sasl/files/pwcheck.sh
Doug Barton c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00

34 lines
661 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: cyrus_pwcheck
# REQUIRE: DAEMON
# BEFORE: mail imap
# KEYWORD: shutdown
#
prefix=%%PREFIX%%
# Define these cyrus_pwcheck_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/cyrus_pwcheck
#
# DO NOT CHANGE THE DEFAULT VALUES HERE
cyrus_pwcheck_enable=${cyrus_pwcheck_enable:-"%%ENABLE_PWCHECK%%"}
# pwcheck program to use (pwcheck/pwcheck_pam)
cyrus_pwcheck_program=${cyrus_pwcheck_program:-"${prefix}/sbin/%%PWCHECK%%"}
. %%RC_SUBR%%
name="cyrus_pwcheck"
rcvar=`set_rcvar`
command=${prefix}/sbin/%%PWCHECK%%
pidfile="/var/run/pwcheck.pid"
load_rc_config $name
run_rc_command "$1"