From ec35c7c2fc24e499a86022860c38460ae4bbad39 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 21 Jan 2014 23:43:22 +0100 Subject: [PATCH 1/3] Small doc update. --- doc/bird.sgml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/bird.sgml b/doc/bird.sgml index 269743d5..13ffa94e 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -707,6 +707,9 @@ This argument can be omitted if there exists only a single instance. that is routes, their metrics and (in case the show bfd sessions [ + Show information about BFD sessions. +

You can specify a for , you'll get the entry which will be used for forwarding of packets to the given From e9e6fbf924630abf821aa38f99e571f706536350 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 5 Feb 2014 15:57:37 +0100 Subject: [PATCH 2/3] Minor changes in Fedora init script. --- misc/bird.init | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/misc/bird.init b/misc/bird.init index 56842bfa..23d6d8af 100755 --- a/misc/bird.init +++ b/misc/bird.init @@ -26,7 +26,7 @@ BIRD6="yes" [ -f /usr/sbin/bird ] || BIRD4="no" [ "${NETWORKING}" = "yes" ] || BIRD4="no" -[ -f /etc/bird-6.conf ] || BIRD6="no" +[ -f /etc/bird6.conf ] || BIRD6="no" [ -f /usr/sbin/bird6 ] || BIRD6="no" [ "${NETWORKING_IPV6}" = "yes" ] || BIRD6="no" @@ -76,13 +76,17 @@ case "$1" in RETVAL=$? ;; reload) - killall -HUP bird - killall -HUP bird6 + killproc bird -HUP + RETVAL=$? + echo + echo -n "Reloading BIRD for IPv6: " + killproc bird6 -HUP RETVAL=$? + echo ;; *) echo "Usage: bird.init {start|stop|status|restart|reload}" exit 1 esac -exit $REVAL +exit $RETVAL From 300e4008f02382b87409dabb52a317b8336de55b Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 5 Feb 2014 23:32:28 +0100 Subject: [PATCH 3/3] Fedora init script improvement suggested by alex@alex.org.uk --- misc/bird.init | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/misc/bird.init b/misc/bird.init index 23d6d8af..93aa83d6 100755 --- a/misc/bird.init +++ b/misc/bird.init @@ -22,6 +22,9 @@ BIRD4="yes" BIRD6="yes" +BIRD4ARGS= +BIRD6ARGS= + [ -f /etc/bird.conf ] || BIRD4="no" [ -f /usr/sbin/bird ] || BIRD4="no" [ "${NETWORKING}" = "yes" ] || BIRD4="no" @@ -30,6 +33,8 @@ BIRD6="yes" [ -f /usr/sbin/bird6 ] || BIRD6="no" [ "${NETWORKING_IPV6}" = "yes" ] || BIRD6="no" +[ -e /etc/sysconfig/bird ] && . /etc/sysconfig/bird + RETVAL=0 # See how we were called. @@ -38,7 +43,7 @@ case "$1" in if [ "$BIRD4" = "yes" ] then echo -n "Starting BIRD for IPv4: " - daemon bird + daemon bird ${BIRD4ARGS} RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bird @@ -46,7 +51,7 @@ case "$1" in if [ "$BIRD6" = "yes" ] then echo -n "Starting BIRD for IPv6: " - daemon bird6 + daemon bird6 ${BIRD6ARGS} RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bird6