diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-19 14:15:15 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-19 14:15:15 -0800 |
commit | 94f29c51c3f71f022071321970b11580d0b1f699 (patch) | |
tree | e57c21c2b42ab7634de615286de885d98ec01ff2 /templates/protocols/ospf | |
parent | c45f7b9f8daae3b96c76fac3363a507c22b9d9f3 (diff) | |
parent | 2e3fcceeb92aad18ba5eb62fb2403ce035493d12 (diff) | |
download | vyatta-cfg-quagga-94f29c51c3f71f022071321970b11580d0b1f699.tar.gz vyatta-cfg-quagga-94f29c51c3f71f022071321970b11580d0b1f699.zip |
Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg-quagga into jenner
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r-- | templates/protocols/ospf/disable/node.def | 12 | ||||
-rw-r--r-- | templates/protocols/ospf/node.def | 2 |
2 files changed, 2 insertions, 12 deletions
diff --git a/templates/protocols/ospf/disable/node.def b/templates/protocols/ospf/disable/node.def deleted file mode 100644 index eeccb9a1..00000000 --- a/templates/protocols/ospf/disable/node.def +++ /dev/null @@ -1,12 +0,0 @@ -type: bool -help: Disable OSPF daemon -default: false -update: if [ $VAR(@) == "true" ]; - then sudo ${vyatta_sbindir}/vyatta-protocol stop ospfd - else sudo ${vyatta_sbindir}/vyatta-protocol start ospfd - fi -possible completions: - true Stop OSPF daemon - false Start OSPF daemon - -allowed: echo "true false" diff --git a/templates/protocols/ospf/node.def b/templates/protocols/ospf/node.def index b28f5553..731d39f1 100644 --- a/templates/protocols/ospf/node.def +++ b/templates/protocols/ospf/node.def @@ -1,3 +1,5 @@ help: Configure Open Shortest Path First protocol (OSPF) parameters +begin: 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" +end: sudo /opt/vyatta/sbin/quagga-manager update |