diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-18 12:54:35 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-18 15:40:25 -0800 |
commit | 358846aef34e08817dbc7d7eefcffb2f075f786b (patch) | |
tree | 6ef2c5a65fcaec19ea6035efadccd1390b732e7d /templates/protocols/rip | |
parent | 5205f4cd0d68a78c86fce6588f9c276861bb9cdd (diff) | |
download | vyatta-cfg-quagga-358846aef34e08817dbc7d7eefcffb2f075f786b.tar.gz vyatta-cfg-quagga-358846aef34e08817dbc7d7eefcffb2f075f786b.zip |
Rework of protocol startup
Use scripts to do start/stop (instead of disable template).
Integrate reload into new quagga-manager script
Diffstat (limited to 'templates/protocols/rip')
-rw-r--r-- | templates/protocols/rip/disable/node.def | 12 | ||||
-rw-r--r-- | templates/protocols/rip/node.def | 2 |
2 files changed, 2 insertions, 12 deletions
diff --git a/templates/protocols/rip/disable/node.def b/templates/protocols/rip/disable/node.def deleted file mode 100644 index 4cd56588..00000000 --- a/templates/protocols/rip/disable/node.def +++ /dev/null @@ -1,12 +0,0 @@ -type: bool -help: Disable RIP daemon -default: false -update: if [ $VAR(@) == "true" ]; - then sudo ${vyatta_sbindir}/vyatta-protocol stop ripd - else sudo ${vyatta_sbindir}/vyatta-protocol start ripd - fi -possible completions: - true Stop RIP daemon - false Start RIP daemon - -allowed: echo "true false" diff --git a/templates/protocols/rip/node.def b/templates/protocols/rip/node.def index 541baa8d..b7f085a5 100644 --- a/templates/protocols/rip/node.def +++ b/templates/protocols/rip/node.def @@ -1,3 +1,5 @@ help: Configure Routing Information Protocol (RIP) parameters +begin: 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" +end: sudo /opt/vyatta/sbin/quagga-manager update |