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.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/protocols/static/node.def b/templates/protocols/static/node.def
index 0cbd6d1b..0afb363e 100644
--- a/templates/protocols/static/node.def
+++ b/templates/protocols/static/node.def
@@ -3,6 +3,7 @@ help: Static route parameters
end:
if [ "$COMMIT_ACTION" != "DELETE" ]; then
vtysh -d zebra -c 'sh run' > /opt/vyatta/etc/quagga/zebra.conf
+ sudo vtysh --writeconfig --noerror
else
rm -f /opt/vyatta/etc/quagga/zebra.conf
fi