summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/network.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 22d763ea2..b5708fe53 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -480,10 +480,10 @@ sub probe_netcnx_type {
#- try to probe $netcnx->{type} which is used almost everywhere.
unless ($netcnx->{type}) {
#- ugly hack to determine network type (avoid saying not configured in summary).
- $intf->{eth0} and $netcnx->{type} ||= 'lan';
- $intf->{ppp0} and $netcnx->{type} ||= 'modem';
-e "$prefix/etc/ppp/peers/adsl" and $netcnx->{type} ||= 'adsl'; # enough ?
-e "$prefix/etc/ppp/ioptions1B" || -e "$prefix/etc/ppp/ioptions2B" and $netcnx->{type} ||= 'isdn'; # enough ?
+ $intf->{ppp0} and $netcnx->{type} ||= 'modem';
+ $intf->{eth0} and $netcnx->{type} ||= 'lan';
}
}