diff options
author | jim-p <jimp@pfsense.org> | 2012-05-22 16:14:34 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-05-22 16:14:34 -0400 |
commit | d7bc6ed15ea3f35dffddd548fa02a0ceae17acc6 (patch) | |
tree | 1fcc9cb9a7372997a7dc276e467306d1219b02c6 /config/quagga_ospfd | |
parent | 9acb95cd603968d2fd09df3f9cdd4bf66d95bdee (diff) | |
download | pfsense-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/quagga_ospfd')
-rw-r--r-- | config/quagga_ospfd/quagga_ospfd.inc | 4 |
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; |