summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-13 15:11:18 +0000
committerdamien <damien@mandriva.com>2001-08-13 15:11:18 +0000
commitbc15a83cabafb782b145216b92db1c260dcf182d (patch)
treec21ba90ed8b421499968dfdc858f3c3b56856251
parent89d28a9d1e54d82143776faceee102bdbe5c0f98 (diff)
downloaddrakx-backup-do-not-use-bc15a83cabafb782b145216b92db1c260dcf182d.tar
drakx-backup-do-not-use-bc15a83cabafb782b145216b92db1c260dcf182d.tar.gz
drakx-backup-do-not-use-bc15a83cabafb782b145216b92db1c260dcf182d.tar.bz2
drakx-backup-do-not-use-bc15a83cabafb782b145216b92db1c260dcf182d.tar.xz
drakx-backup-do-not-use-bc15a83cabafb782b145216b92db1c260dcf182d.zip
adsl autodetection activated (planq the children)
-rw-r--r--perl-install/network/adsl.pm1
-rw-r--r--perl-install/network/netconnect.pm2
2 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a922585cc..61a0d8f87 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -58,7 +58,6 @@ sub adsl_ask_info {
#- output:
#- true/false : success|failed
sub adsl_detect {
- return;
my ($interface) = @_;
run_program::rooted($prefix, "ifconfig $interface 10.0.0.10 netmask 255.255.255.0");
my $ret=run_program::rooted($prefix, "/bin/ping -c 1 10.0.0.138 2> /dev/null");
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index a1fbee552..43737064e 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -73,7 +73,7 @@ sub detect {
require network::adsl;
network::adsl->import;
map {
- ( !$net_install and adsl_detect("", $_->[0]) ) ? $auto_detect->{adsl}=$_->[0] : $auto_detect->{lan}{$_->[0]}=$_->[1]; } @all_cards;
+ ( !$net_install and adsl_detect($_->[0]) ) ? $auto_detect->{adsl}=$_->[0] : $auto_detect->{lan}{$_->[0]}=$_->[1]; } @all_cards;
my $modem={};
require network::modem;
network::modem->import;