summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-05 06:04:36 +0000
committerjlam <jlam>2002-02-05 06:04:36 +0000
commit6cae8868e0e29c29b7c54cd11d91ca6896b4e6db (patch)
tree910b301d9e99bea4118f547f996c86cbedac39fc /databases/openldap
parenta760b2de0d07abff5d65eb19eec822836826804c (diff)
downloadpkgsrc-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 'databases/openldap')
-rw-r--r--databases/openldap/files/slapd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/openldap/files/slapd.sh b/databases/openldap/files/slapd.sh
index 1e762c7caaf..19eef4e9473 100644
--- a/databases/openldap/files/slapd.sh
+++ b/databases/openldap/files/slapd.sh
@@ -1,13 +1,13 @@
#! /bin/sh
#
-# $NetBSD: slapd.sh,v 1.1 2002/01/30 07:34:01 jlam Exp $
+# $NetBSD: slapd.sh,v 1.2 2002/02/05 06:04:37 jlam Exp $
#
# OpenLDAP standalone LDAP daemon
#
# PROVIDE: slapd
# REQUIRE: DAEMON
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -19,7 +19,7 @@ pidfile="/var/openldap/slapd.pid"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
extra_commands="reload"
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"