diff options
author | jlam <jlam@pkgsrc.org> | 2002-02-05 06:04:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-02-05 06:04:36 +0000 |
commit | e0d358778b0df3dd6eda22a878f91c1517d291dd (patch) | |
tree | 910b301d9e99bea4118f547f996c86cbedac39fc /databases | |
parent | d0529c736bda8009b0db6b89eaea48137d0c92ec (diff) | |
download | pkgsrc-e0d358778b0df3dd6eda22a878f91c1517d291dd.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')
-rw-r--r-- | databases/openldap/files/slapd.sh | 6 |
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" |