summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorMartin Hedenfal <martinh@cvs.openbsd.org>2010-07-27 08:37:34 +0000
committerMartin Hedenfal <martinh@cvs.openbsd.org>2010-07-27 08:37:34 +0000
commitf8f5c8c674fbea15e2b2181b46efbd783adf7c88 (patch)
tree8a8986b85258620b095bdc93bb0c33f7043ee684 /etc/rc
parenta1d7d586f97faff1e20e795180f22d0993fbd010 (diff)
Add ldapd to rc and rc.conf. Enable it at boot with ldapd_flags=.
ok deraadt@ gilles@
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 09c5d70108f..f323db4c613 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.339 2010/07/13 12:28:13 sthen Exp $
+# $OpenBSD: rc,v 1.340 2010/07/27 08:37:33 martinh Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -718,6 +718,10 @@ if [ X"${lpd_flags}" != X"NO" ]; then
echo -n ' lpd'; lpd ${lpd_flags}
fi
+if [ X"${ldapd_flags}" != X"NO" ]; then
+ echo -n ' ldapd'; /usr/sbin/ldapd ${ldapd_flags};
+fi
+
# We call sendmail with a full path so that SIGHUP works.
# Note that /usr/sbin/sendmail may actually call a
# mailer other than sendmail, depending on /etc/mailer.conf.