summaryrefslogtreecommitdiff
path: root/scripts/vyatta-bonding.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-03 08:55:15 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-03 10:39:50 -0800
commite8a6e29f490410a212e6529186a4c689645fbfa8 (patch)
tree08948b6a9c3ab62a96822d896d53d394f2546413 /scripts/vyatta-bonding.pl
parenta9e83d88376ff508f1ae77e7c574bff4c9626a6c (diff)
downloadvyatta-cfg-system-e8a6e29f490410a212e6529186a4c689645fbfa8.tar.gz
vyatta-cfg-system-e8a6e29f490410a212e6529186a4c689645fbfa8.zip
Fix slave device startup
Slave devices need to be added by config not by script Bug 4085
Diffstat (limited to 'scripts/vyatta-bonding.pl')
-rwxr-xr-xscripts/vyatta-bonding.pl9
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 {