Browse Source

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@
OPENBSD_4_8
michele 14 years ago
parent
commit
f644eb61da
2 changed files with 7 additions and 2 deletions
  1. +5
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 5
- 1
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -619,6 +619,10 @@ if [ X"${snmpd_flags}" != X"NO" ]; then
echo -n ' snmpd'; /usr/sbin/snmpd $snmpd_flags echo -n ' snmpd'; /usr/sbin/snmpd $snmpd_flags
fi fi
if [ X"${ldpd_flags}" != X"NO" ]; then
echo -n ' ldpd'; /usr/sbin/ldpd $ldpd_flags
fi
if [ X"${ripd_flags}" != X"NO" ]; then if [ X"${ripd_flags}" != X"NO" ]; then
echo -n ' ripd'; /usr/sbin/ripd $ripd_flags echo -n ' ripd'; /usr/sbin/ripd $ripd_flags
fi fi


+ 2
- 1
src/etc/rc.conf View File

@ -1,8 +1,9 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.135 2010/04/23 06:29:36 ratchov Exp $
# $OpenBSD: rc.conf,v 1.136 2010/04/25 10:10:51 michele Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: ""
ripd_flags=NO # for normal use: "" ripd_flags=NO # for normal use: ""
mrouted_flags=NO # for normal use: "", if activated mrouted_flags=NO # for normal use: "", if activated
# be sure to enable multicast_router below. # be sure to enable multicast_router below.


Loading…
Cancel
Save