summaryrefslogtreecommitdiff
path: root/templates/protocols/static/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/static/node.def')
-rw-r--r--templates/protocols/static/node.def7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/protocols/static/node.def b/templates/protocols/static/node.def
index 8833f277..57304d7c 100644
--- a/templates/protocols/static/node.def
+++ b/templates/protocols/static/node.def
@@ -1,4 +1,9 @@
priority: 450
help: static route parameters
-
+end:
+ if [ "$COMMIT_ACTION" != "DELETE" ]; then
+ vtysh -d zebra -c 'sh run' > /opt/vyatta/etc/quagga/zebra.conf
+ else
+ rm -f /opt/vyatta/etc/quagga/zebra.conf
+ fi