summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 2551b0240..61ae5fa8d 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -196,13 +196,8 @@ sub manage {
my $config = {};
eval(cat_('/etc/sysconfig/drakconnect'));
- #- duplicated from network::ethernet, to be factorized
@all_cards = network::ethernet::get_eth_cards();
- foreach my $card (@all_cards) {
- modules::remove_alias($card->[1]);
- modules::add_alias($card->[0], $card->[1]);
- }
- my %name = map { $_->[0] => join(': ', $_->[0], $_->[2]) } @all_cards;
+ my %name = network::ethernet::get_eth_cards_names(@all_cards);
$window->{rwindow}->add(gtkpack_(Gtk2::VBox->new,
0, $interface_menu = gtksignal_connect(Gtk2::OptionMenu->new,