diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-01 17:38:41 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-02 14:20:31 -0700 |
commit | 7807977e9701dc6acb00ce7bc17d539eb4eed8c3 (patch) | |
tree | 8cab6c0ca880b1aaa259260ffb4fdd780c7aafff /scripts | |
parent | 2d9121d9e81ff56e6d511d8df25e433cc74ee087 (diff) | |
download | vyatta-cfg-quagga-7807977e9701dc6acb00ce7bc17d539eb4eed8c3.tar.gz vyatta-cfg-quagga-7807977e9701dc6acb00ce7bc17d539eb4eed8c3.zip |
Don't stop daemon if OSPF/RIP still has parameters
Need daemon to hold around parameters for start.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/quagga-manager | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/quagga-manager b/scripts/quagga-manager index fc1326f0..40a1ebfe 100755 --- a/scripts/quagga-manager +++ b/scripts/quagga-manager @@ -129,7 +129,11 @@ update() { # Cleanup any daemons no longer needed for p in ${deleted[*]} - do stop $p + do + # Need daemon to hold state of interface + if [ -z "$(find $vyatta_cfg/interfaces -type d -name $p)" ] + then stop $p + fi done start watchquagga |