From d7bc6ed15ea3f35dffddd548fa02a0ceae17acc6 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 22 May 2012 16:14:34 -0400 Subject: Killall running copies of zebra and ospfd before starting quagga. --- config/quagga_ospfd/quagga_ospfd.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc index 075820e4..54d4ef3f 100644 --- a/config/quagga_ospfd/quagga_ospfd.inc +++ b/config/quagga_ospfd/quagga_ospfd.inc @@ -204,6 +204,10 @@ rm -f /var/run/quagga/ospfd.pid /usr/sbin/chown -R quagga:quagga /usr/local/etc/quagga/ /usr/sbin/chown -R quagga:quagga /var/run/quagga /usr/sbin/chown -R quagga:quagga /var/log/quagga +# Ensure no other copies of the daemons are running or it breaks. +killall -9 zebra +killall -9 ospfd +sleep 1 /usr/local/sbin/zebra -d /usr/local/sbin/ospfd -d EOF; -- cgit v1.2.3