aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-22 16:14:34 -0400
committerjim-p <jimp@pfsense.org>2012-05-22 16:14:34 -0400
commitd7bc6ed15ea3f35dffddd548fa02a0ceae17acc6 (patch)
tree1fcc9cb9a7372997a7dc276e467306d1219b02c6 /config
parent9acb95cd603968d2fd09df3f9cdd4bf66d95bdee (diff)
downloadpfsense-packages-d7bc6ed15ea3f35dffddd548fa02a0ceae17acc6.tar.gz
pfsense-packages-d7bc6ed15ea3f35dffddd548fa02a0ceae17acc6.tar.bz2
pfsense-packages-d7bc6ed15ea3f35dffddd548fa02a0ceae17acc6.zip
Killall running copies of zebra and ospfd before starting quagga.
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;