From 54606d0eedd65c38ef26190398418eb9ab35abec Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 26 Feb 2003 14:19:47 +0000 Subject: moved type detection code to network. --- perl-install/install_steps_interactive.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 740fd4818..564fa9001 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -846,10 +846,7 @@ sub summaryBefore { #- get back network configuration. require network; eval { - network::network::read_all_conf($o->{prefix}, $o->{netc} ||= {}, $o->{intf} ||= {}); - #- ugly hack to determine network type (avoid saying not configured in summary). - $o->{intf}{eth0} and $o->{netcnx}{type} ||= 'lan'; - $o->{intf}{ppp0} and $o->{netcnx}{type} ||= 'modem'; + network::network::read_all_conf($o->{prefix}, $o->{netc} ||= {}, $o->{intf} ||= {}, $o->{netcnx} ||= {}); }; log::l("summaryBefore: network configuration: ", formatError($@)); } -- cgit v1.2.1