summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2010-04-25 10:10:52 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2010-04-25 10:10:52 +0000
commit5b33273b853e244b4d540395770c048622153b21 (patch)
tree546223cceb0adb299c803a5a7ed9877a328a2bf9 /etc/rc
parentf0dd3cce086d1383f966931cb1a8256db0febf9f (diff)
Add ldpd(8) to /etc/rc* files.
It needs to be started before the routing daemons. In this way every new prefix learnt by them already has a label associated. discussed with and ok'ed by claudio@
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 622a6a2182a..a085b823560 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.336 2010/04/23 06:29:36 ratchov Exp $
+# $OpenBSD: rc,v 1.337 2010/04/25 10:10:51 michele Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -619,6 +619,10 @@ if [ X"${snmpd_flags}" != X"NO" ]; then
echo -n ' snmpd'; /usr/sbin/snmpd $snmpd_flags
fi
+if [ X"${ldpd_flags}" != X"NO" ]; then
+ echo -n ' ldpd'; /usr/sbin/ldpd $ldpd_flags
+fi
+
if [ X"${ripd_flags}" != X"NO" ]; then
echo -n ' ripd'; /usr/sbin/ripd $ripd_flags
fi