summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 1cf2786fc..c45c77f93 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -158,18 +158,12 @@ sub real_main {
);
my $offer_to_connect = sub {
- network::tools::stop_ifplugd($net->{net_interface});
-
if ($net->{type} eq 'adsl' && !member($net->{adsl}{method}, qw(static dhcp)) ||
member($net->{type}, qw(modem isdn isdn_external))) {
return "ask_connect_now";
} else {
network::tools::stop_net_interface($net, 0);
- if ($ethntf->{MII_NOT_SUPPORTED} eq "yes" || $::isInstall) {
- network::tools::start_net_interface($net, 0);
- } else {
- network::tools::start_ifplugd($net->{net_interface});
- }
+ network::tools::start_net_interface($net, 0);
}
return "end";
};