summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-26 14:19:47 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-26 14:19:47 +0000
commit54606d0eedd65c38ef26190398418eb9ab35abec (patch)
treef51855ce48792b8421dd3d06495e406c63bb2f8c /perl-install/install_steps_interactive.pm
parente1f2fd460e4fd1c8baf3c56b53ef002aa0ae073e (diff)
downloaddrakx-54606d0eedd65c38ef26190398418eb9ab35abec.tar
drakx-54606d0eedd65c38ef26190398418eb9ab35abec.tar.gz
drakx-54606d0eedd65c38ef26190398418eb9ab35abec.tar.bz2
drakx-54606d0eedd65c38ef26190398418eb9ab35abec.tar.xz
drakx-54606d0eedd65c38ef26190398418eb9ab35abec.zip
moved type detection code to network.
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm5
1 files changed, 1 insertions, 4 deletions
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($@));
}