aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc4
1 files changed, 4 insertions, 0 deletions
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;