diff options
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 7 |
1 files changed, 6 insertions, 1 deletions
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: $@"); } |