summaryrefslogtreecommitdiff
path: root/etc/rc
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
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')
-rw-r--r--etc/rc9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 79873469423..959c2299e29 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.395 2011/10/07 16:36:26 deraadt Exp $
+# $OpenBSD: rc,v 1.396 2011/10/13 07:54:06 ajacoutot Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -397,6 +397,7 @@ make_keys
echo -n 'starting early daemons:'
start_daemon syslogd ldattach pflogd named nsd ntpd isakmpd iked sasyncd
+start_daemon ldapd
echo '.'
if [ X"${ipsec}" != X"NO" ]; then
@@ -502,9 +503,9 @@ if ifconfig lo0 inet6 >/dev/null 2>&1; then
fi
fi
-start_daemon hostapd rwhod lpd ldapd sendmail smtpd httpd ftpd
-start_daemon ftpproxy identd inetd rarpd bootparamd rbootd mopd
-start_daemon popa3d spamd spamlogd kdc kadmind kpasswdd aucat
+start_daemon hostapd rwhod lpd sendmail smtpd httpd ftpd ftpproxy
+start_daemon identd inetd rarpd bootparamd rbootd mopd popa3d
+start_daemon spamd spamlogd kdc kadmind kpasswdd aucat
echo '.'
if [ X"${spamd_flags}" != X"NO" ]; then