From 2f6ceb414f9c45bb98505d2773f077c243e13e59 Mon Sep 17 00:00:00 2001 From: slioch Date: Thu, 19 Feb 2009 20:32:10 -0800 Subject: applied same changes to ospf and rip as to bgp re: start/stop router daemon hooks --- templates/protocols/ospf/node.def | 3 ++- templates/protocols/rip/node.def | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/protocols') 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 -- cgit v1.2.3