From ed736118c64616427290badc43ba97585689a160 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 19 Feb 2003 16:12:04 +0000 Subject: add ugly probed type of network configuration. --- perl-install/install_steps_interactive.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (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 622b53e78..7041f0d0d 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -831,7 +831,12 @@ sub summaryBefore { install_any::preConfigureTimezone($o); #- get back network configuration. require network; - eval { network::network::read_all_conf($o->{prefix}, $o->{netc} ||= {}, $o->{intf} ||= {}) }; + 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'; + }; log::l("summaryBefore: network configuration: $@"); } -- cgit v1.2.1