summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-04 10:20:33 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-04 10:20:33 +0000
commitcafadbb6ee35e3a03f7a1707b5c309b83fea728b (patch)
treec338d46bb4e86cca88fdcb23d37a1085548fad0b /perl-install/network/netconnect.pm
parent54d10c15b5e74f32178efbff017ea81172da1b30 (diff)
downloaddrakx-backup-do-not-use-cafadbb6ee35e3a03f7a1707b5c309b83fea728b.tar
drakx-backup-do-not-use-cafadbb6ee35e3a03f7a1707b5c309b83fea728b.tar.gz
drakx-backup-do-not-use-cafadbb6ee35e3a03f7a1707b5c309b83fea728b.tar.bz2
drakx-backup-do-not-use-cafadbb6ee35e3a03f7a1707b5c309b83fea728b.tar.xz
drakx-backup-do-not-use-cafadbb6ee35e3a03f7a1707b5c309b83fea728b.zip
use ifup/ifdown with the boot option to handle ifplugd
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";
};