summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-10-13 07:54:07 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-10-13 07:54:07 +0000
commit8e4b1391b57ca5078c5c1816992b30fba67c95f7 (patch)
tree9514c094992c33e10fbd788b38124c5b69756c32 /etc/rc.d
parent06be69949fdaac5748c26bac9c34d64e4dd539a6 (diff)
Start ldapd(8) earlier so that ypldap(8) can properly run (an LDAP
server _must_ be running and accessible before ypldap is started). Add a proper pexp in the ypldap rc script. discussed with pyr@ robert@ deraadt@ ok deraadt@
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/ypldap4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/ypldap b/etc/rc.d/ypldap
index 6d1d31879a1..98a51d6254a 100644
--- a/etc/rc.d/ypldap
+++ b/etc/rc.d/ypldap
@@ -1,9 +1,11 @@
#!/bin/sh
#
-# $OpenBSD: ypldap,v 1.1 2011/07/07 01:52:58 robert Exp $
+# $OpenBSD: ypldap,v 1.2 2011/10/13 07:54:06 ajacoutot Exp $
daemon="/usr/sbin/ypldap"
. /etc/rc.d/rc.subr
+pexp="ypldap: ldap client"
+
rc_cmd $1