diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-04 13:58:41 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-04 15:13:44 -0800 |
commit | 7158009fa019bb9eb5b871750e3658590b3a122f (patch) | |
tree | b14de3ba75a42a218bf9e768bf229cc3992604c3 /templates/protocols/ospf | |
parent | de5866ef8e4c4249448a9e0d962f3f957c954ccd (diff) | |
download | vyatta-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/ospf')
-rw-r--r-- | templates/protocols/ospf/node.def | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/ospf/node.def b/templates/protocols/ospf/node.def index 7870a8cb..25ef78e3 100644 --- a/templates/protocols/ospf/node.def +++ b/templates/protocols/ospf/node.def @@ -1,5 +1,5 @@ help: Configure Open Shortest Path First protocol (OSPF) parameters -create:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"router ospf\" " -delete:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"no router ospf\" " +create: /opt/vyatta/sbin/vyatta-protocol start ospf + vyatta-vtysh -c "configure terminal" -c "router ospf" +delete: vyatta-vtysh -c "configure terminal" -c "no router ospf" + /opt/vyatta/sbin/vyatta-protocol stop ospf |