summaryrefslogtreecommitdiff
path: root/templates/protocols/rip
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-04 13:58:41 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-04 15:13:44 -0800
commit7158009fa019bb9eb5b871750e3658590b3a122f (patch)
treeb14de3ba75a42a218bf9e768bf229cc3992604c3 /templates/protocols/rip
parentde5866ef8e4c4249448a9e0d962f3f957c954ccd (diff)
downloadvyatta-cfg-quagga-7158009fa019bb9eb5b871750e3658590b3a122f.tar.gz
vyatta-cfg-quagga-7158009fa019bb9eb5b871750e3658590b3a122f.zip
Protocol daemon management
Bug 3828 Start protocols from configuration system, and use watchquagga to restart protocol daemons after failure
Diffstat (limited to 'templates/protocols/rip')
-rw-r--r--templates/protocols/rip/node.def7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/protocols/rip/node.def b/templates/protocols/rip/node.def
index 38d3da1a..f1a08cc5 100644
--- a/templates/protocols/rip/node.def
+++ b/templates/protocols/rip/node.def
@@ -1,4 +1,7 @@
help: Configure Routing Information Protocol (RIP) parameters
-create:expression: "vyatta-vtysh -c \"configure terminal\" -c \"router rip\" "
-delete:expression: "vyatta-vtysh -c \"configure terminal\" -c \"no router rip\" "
+create: /opt/vyatta/sbin/vyatta-protocol start rip
+ vyatta-vtysh -c "configure terminal" -c "router rip"
+delete: vyatta-vtysh -c "configure terminal" -c "no router rip"
+ /opt/vyatta/sbin/vyatta-protocol stop rip
+