diff --git a/src/etc/rc b/src/etc/rc index 622a6a21..a085b823 100644 --- a/src/etc/rc +++ b/src/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 diff --git a/src/etc/rc.conf b/src/etc/rc.conf index 39fc8c31..a29b8fb4 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,8 +1,9 @@ #!/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 +ldpd_flags=NO # for normal use: "" ripd_flags=NO # for normal use: "" mrouted_flags=NO # for normal use: "", if activated # be sure to enable multicast_router below.