From 696e9b68e2409cf5b973df46e14801c8bf70730d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 7 Feb 2005 18:28:18 +0000 Subject: select manual adsl connection type if the network interface was static --- perl-install/network/netconnect.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/network/netconnect.pm') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index fdd628b16..d0041c704 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -830,6 +830,8 @@ and copy the mgmt.o in /usr/share/speedtouch", 'http://prdownloads.sourceforge.n if (!exists $adsl_devices{$ntf_name}) { $ethntf = $intf->{$ntf_name} ||= { DEVICE => $ntf_name }; $adsl_type ||= $ethntf->{BOOTPROTO} || "dhcp"; + #- FIXME: use static instead of manual as key in %adsl_devices + $adsl_type = "manual" if $adsl_type eq "static"; #- pppoa shouldn't be selected by default for ethernet devices, fallback on pppoe $adsl_type = "pppoe" if $adsl_type eq "pppoa"; } -- cgit v1.2.1