diff options
author | slioch <slioch@eng-140.vyatta.com> | 2009-02-19 20:32:10 -0800 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2009-02-19 20:32:10 -0800 |
commit | 2f6ceb414f9c45bb98505d2773f077c243e13e59 (patch) | |
tree | 88310b37929952c127a11aa2d7eb026b0a2872f5 | |
parent | a5f6345aa9876560a1ccbfca1313fdd05e7ea752 (diff) | |
download | vyatta-cfg-quagga-2f6ceb414f9c45bb98505d2773f077c243e13e59.tar.gz vyatta-cfg-quagga-2f6ceb414f9c45bb98505d2773f077c243e13e59.zip |
applied same changes to ospf and rip as to bgp re: start/stop router daemon hooks
-rw-r--r-- | templates/protocols/ospf/node.def | 3 | ||||
-rw-r--r-- | templates/protocols/rip/node.def | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/protocols/ospf/node.def b/templates/protocols/ospf/node.def index 731d39f1..4cdf703f 100644 --- a/templates/protocols/ospf/node.def +++ b/templates/protocols/ospf/node.def @@ -1,5 +1,6 @@ help: Configure Open Shortest Path First protocol (OSPF) parameters -begin: sudo /opt/vyatta/sbin/quagga-manager start ospfd +create: sudo /opt/vyatta/sbin/quagga-manager start ospfd create: vyatta-vtysh -c "configure terminal" -c "router ospf" delete: vyatta-vtysh -c "configure terminal" -c "no router ospf" +delete: sudo /opt/vyatta/sbin/quagga-manager stop ospfd end: sudo /opt/vyatta/sbin/quagga-manager update diff --git a/templates/protocols/rip/node.def b/templates/protocols/rip/node.def index b7f085a5..2c2d300c 100644 --- a/templates/protocols/rip/node.def +++ b/templates/protocols/rip/node.def @@ -1,5 +1,6 @@ help: Configure Routing Information Protocol (RIP) parameters -begin: sudo /opt/vyatta/sbin/quagga-manager start ripd +create: sudo /opt/vyatta/sbin/quagga-manager start ripd create: vyatta-vtysh -c "configure terminal" -c "router rip" delete: vyatta-vtysh -c "configure terminal" -c "no router rip" +delete: sudo /opt/vyatta/sbin/quagga-manager stop ripd end: sudo /opt/vyatta/sbin/quagga-manager update |