summaryrefslogtreecommitdiff
path: root/templates/protocols/static
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-04-28 21:15:08 +0000
committersever-sever <v.gletenko@vyos.io>2021-04-29 15:17:17 +0000
commit1587243e64a27c933dc48bd2ba0940020aad1658 (patch)
treedd9ae72c83d6841bc64d92bbc9c14a0a6c07e18a /templates/protocols/static
parentec297e189213c7019e7515806f5b38effe3408b1 (diff)
downloadvyatta-cfg-quagga-1587243e64a27c933dc48bd2ba0940020aad1658.tar.gz
vyatta-cfg-quagga-1587243e64a27c933dc48bd2ba0940020aad1658.zip
frr: T3217: Ability to save routing configs
Diffstat (limited to 'templates/protocols/static')
-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