summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-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"