summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-03-24 19:34:39 +0100
committerDaniil Baturin <daniil@baturin.org>2015-03-24 19:34:39 +0100
commit86f5b7e0ded02ff461f8c8039152484343c2ef6f (patch)
treeafed97b4d4992f31a2df30efd49d1d055bcacc94 /templates/protocols/ospfv3/node.def
parent6553a09ea3978af2ed0a43fc41bdc99d1cd2be9a (diff)
downloadvyatta-cfg-quagga-86f5b7e0ded02ff461f8c8039152484343c2ef6f.tar.gz
vyatta-cfg-quagga-86f5b7e0ded02ff461f8c8039152484343c2ef6f.zip
Bug #521: save quagga daemon configs to /opt/vyatta/etc/quagga at commit time.
Diffstat (limited to 'templates/protocols/ospfv3/node.def')
-rw-r--r--templates/protocols/ospfv3/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/node.def b/templates/protocols/ospfv3/node.def
index 56655199..e7d11d96 100644
--- a/templates/protocols/ospfv3/node.def
+++ b/templates/protocols/ospfv3/node.def
@@ -8,6 +8,7 @@ begin: if [ "$COMMIT_ACTION" != DELETE ]; then
vtysh -c "configure terminal" -c "router ospf6" \
-c "no router-id"
fi
+ vtysh -d ospf6d -c 'sh run' > /opt/vyatta/etc/quagga/ospf6d.conf
fi
end: if [ "$COMMIT_ACTION" == DELETE ]; then
vtysh -c "configure terminal" -c "router ospf6" -c "no router-id"