Hello

Am Mon, 31 Dec 2012 02:12:29 +0100
schrieb Hans van Kranenburg <hans.van.kranenb...@mendix.com>:

> Hi Daniel,
> 
> It seems there has not been any feedback on a suggested patch to the
> init script for about three years?
> 
> Is there any information available on this bug? I walked into this
> issue after about a day of testing, so either I'm doing things nobody
> ever tried, which seems unlikely, or something's not right.

Would the following patch do what you want?

-=(/etc/quagga)# diff -u  
~james/debian/quagga/quagga-0.99.21/debian/quagga.init.d /etc/init.d/quagga 
--- /srv/home/james/debian/quagga/quagga-0.99.21/debian/quagga.init.d   
2012-05-06 23:26:22.000000000 +0200
+++ /etc/init.d/quagga  2013-01-26 20:48:13.000000000 +0100
@@ -272,8 +272,10 @@
         stop_watchquagga
        stop_prio 0 $2
 
-       echo "Removing all routes made by zebra."
-       ip route flush proto zebra
+       if [ -z "$2" -o "$2" = "zebra" ]; then
+         echo "Removing all routes made by zebra."
+         ip route flush proto zebra
+       fi
        ;;
 
     restart|force-reload)

bye,

-christian-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to