diff options
author | jlam <jlam> | 2002-02-05 06:04:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-02-05 06:04:36 +0000 |
commit | 6cae8868e0e29c29b7c54cd11d91ca6896b4e6db (patch) | |
tree | 910b301d9e99bea4118f547f996c86cbedac39fc /security/cyrus-sasl | |
parent | a760b2de0d07abff5d65eb19eec822836826804c (diff) | |
download | pkgsrc-6cae8868e0e29c29b7c54cd11d91ca6896b4e6db.tar.gz |
Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
Diffstat (limited to 'security/cyrus-sasl')
-rw-r--r-- | security/cyrus-sasl/files/sasl_pwcheck.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/cyrus-sasl/files/sasl_pwcheck.sh b/security/cyrus-sasl/files/sasl_pwcheck.sh index f57d061c591..6415442cfe8 100644 --- a/security/cyrus-sasl/files/sasl_pwcheck.sh +++ b/security/cyrus-sasl/files/sasl_pwcheck.sh @@ -1,13 +1,13 @@ #! /bin/sh # -# $NetBSD: sasl_pwcheck.sh,v 1.6 2002/01/31 21:41:18 jlam Exp $ +# $NetBSD: sasl_pwcheck.sh,v 1.7 2002/02/05 06:04:40 jlam Exp $ # # The pwcheck daemon allows UNIX password authentication with Cyrus SASL. # # PROVIDE: sasl_pwcheck # REQUIRE: DAEMON -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -17,7 +17,7 @@ rcvar="${name}" command="@PREFIX@/sbin/pwcheck" command_args="& sleep 2" -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" |