diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/cyrus-sasl/files/sasl_pwcheck.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/cyrus-sasl/files/sasl_pwcheck.sh b/security/cyrus-sasl/files/sasl_pwcheck.sh index b50636f2d38..1bf15672424 100644 --- a/security/cyrus-sasl/files/sasl_pwcheck.sh +++ b/security/cyrus-sasl/files/sasl_pwcheck.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: sasl_pwcheck.sh,v 1.4 2001/11/26 20:38:32 jlam Exp $ +# $NetBSD: sasl_pwcheck.sh,v 1.5 2002/01/31 19:55:07 jlam Exp $ # # The pwcheck daemon allows UNIX password authentication with Cyrus SASL. # @@ -12,6 +12,8 @@ then . /etc/rc.subr fi +rcd_dir=`@DIRNAME@ $0` + name="sasl_pwcheck" rcvar="${name}" command="@PREFIX@/sbin/pwcheck" @@ -42,7 +44,7 @@ sasl_pwcheck_precmd() { if [ ! -e ${sasldb} ] then - @RCD_SCRIPTS_DIR@/sasl_pwcheck dbinit + $rcd_dir/sasl_pwcheck dbinit fi } |