diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-03 08:55:15 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-03 10:39:50 -0800 |
commit | e8a6e29f490410a212e6529186a4c689645fbfa8 (patch) | |
tree | 08948b6a9c3ab62a96822d896d53d394f2546413 /scripts | |
parent | a9e83d88376ff508f1ae77e7c574bff4c9626a6c (diff) | |
download | vyatta-cfg-quagga-e8a6e29f490410a212e6529186a4c689645fbfa8.tar.gz vyatta-cfg-quagga-e8a6e29f490410a212e6529186a4c689645fbfa8.zip |
Fix slave device startup
Slave devices need to be added by config not by script
Bug 4085
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-bonding.pl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/vyatta-bonding.pl b/scripts/vyatta-bonding.pl index eda99673..f1ff3193 100755 --- a/scripts/vyatta-bonding.pl +++ b/scripts/vyatta-bonding.pl @@ -58,15 +58,6 @@ sub create_bond { system("sudo ip link set \"$bond\" up") == 0 or die "enabling $bond failed: $!\n"; - - $config->setLevel("interfaces ethernet"); - for my $intf ( $config->listNodes() ) { - my $group = $config->returnValue("bond-group"); - if ( defined $group && $group eq $bond ) { - system("sudo ifenslave $bond $intf") == 0 - or die "Adding $intf to $bond failed\n"; - } - } } sub delete_bond { |