summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {