summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-07 02:19:16 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-07 02:19:16 +0000
commit4a2ca6b3c483bc930880f2b03be96f5d77e6d672 (patch)
treea51ad934a0eb800c4c2b4fc2f272313a50a94bd1 /perl-install/network
parent97139f6583a88bf6a9badff59deb732f38f087d2 (diff)
downloaddrakx-backup-do-not-use-4a2ca6b3c483bc930880f2b03be96f5d77e6d672.tar
drakx-backup-do-not-use-4a2ca6b3c483bc930880f2b03be96f5d77e6d672.tar.gz
drakx-backup-do-not-use-4a2ca6b3c483bc930880f2b03be96f5d77e6d672.tar.bz2
drakx-backup-do-not-use-4a2ca6b3c483bc930880f2b03be96f5d77e6d672.tar.xz
drakx-backup-do-not-use-4a2ca6b3c483bc930880f2b03be96f5d77e6d672.zip
use fctStartAdsl for eagle-usb in dhcp/static modes
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 95b9285f9..90aec99fe 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -767,8 +767,9 @@ If you don't know, choose 'use PPPoE'"),
$find_lan_module->();
$ethntf->{MII_NOT_SUPPORTED} ||= $is_hotplug_blacklisted->();
if ($ntf_name eq "sagem") {
- #- FIXME: duplicated with %modems from adsl.pm
- $ethntf = $intf->{$ntf_name} = { DEVICE => "`/usr/sbin/eaglectrl -i`", MII_NOT_SUPPORTED => "yes" };
+ #- "fctStartAdsl -i" links ifcfg-ethX to ifcfg-sagem and echoes ethX
+ #- it auto-detects dhcp/static modes thanks to encapsulation setting
+ $ethntf = $intf->{$ntf_name} = { DEVICE => "`/usr/sbin/fctStartAdsl -i`", MII_NOT_SUPPORTED => "yes" };
network::adsl::sagem_set_parameters($netc); #- FIXME: should be delayed
}
# process static/dhcp ethernet devices: