summaryrefslogtreecommitdiff
path: root/scripts/quagga-manager
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/quagga-manager')
-rwxr-xr-xscripts/quagga-manager6
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