diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-16 15:25:14 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-16 15:25:14 -0800 |
commit | 5205f4cd0d68a78c86fce6588f9c276861bb9cdd (patch) | |
tree | 130d7894ab217188182b3443228338eafc89e407 /templates/protocols/bgp/node.def | |
parent | 9773974965c7b639a125b44be3728d00af48e929 (diff) | |
download | vyatta-cfg-quagga-5205f4cd0d68a78c86fce6588f9c276861bb9cdd.tar.gz vyatta-cfg-quagga-5205f4cd0d68a78c86fce6588f9c276861bb9cdd.zip |
Move daemon start to the disable node
Need way to get daemons started before top level node.
Really a hack because of the way priorities are managed on
node hieararchy
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r-- | templates/protocols/bgp/node.def | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index ea3a9c4c..520da78f 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -5,15 +5,7 @@ comp_help: \1 <1-4294967294>\tAS number syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \ "AS number must be between 1 and 4294967294" -create: if [ $(pgrep -c -x vyatta-bgpd) -eq 0 ] - then sudo ${vyatta_sbindir}/vyatta-protocol start bgpd - fi - vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)" update: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)" \ -c "bgp network import-check" -delete: vyatta-vtysh -c "configure terminal" -c "no router bgp $VAR(@)" - if ! ${vyatta_sbindir}/vyatta-check-typeless-node.pl "protocols bgp" - then sudo ${vyatta_sbindir}/vyatta-protocol stop bgpd - fi |