summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-09 13:33:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-09 13:33:34 +0000
commitc68f11090fd2ed54b66cbc7fd1114d53ce24b1bd (patch)
tree969dd3aef823d069f020cef1e35fd98d7d0851ac /perl-install/install_steps_interactive.pm
parent1a03f79d8d6533ce806ddd5c1b3877d8962e314c (diff)
downloaddrakx-c68f11090fd2ed54b66cbc7fd1114d53ce24b1bd.tar
drakx-c68f11090fd2ed54b66cbc7fd1114d53ce24b1bd.tar.gz
drakx-c68f11090fd2ed54b66cbc7fd1114d53ce24b1bd.tar.bz2
drakx-c68f11090fd2ed54b66cbc7fd1114d53ce24b1bd.tar.xz
drakx-c68f11090fd2ed54b66cbc7fd1114d53ce24b1bd.zip
- configureNetwork step now only does easy_dhcp()
- added full network configuration to summary
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 97bca2f95..7a08f803d 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -698,10 +698,9 @@ sub updateModulesFromFloppy {
#------------------------------------------------------------------------------
sub configureNetwork {
- my ($o, $first_time, $noauto) = @_;
- require network::netconnect;
- network::netconnect::main($o->{prefix}, $o->{netcnx} ||= {}, $o->{netc}, $o->{mouse}, $o, $o->{intf},
- $first_time, $o->{lang} eq "fr_FR" && $o->{keyboard}{KEYBOARD} eq "fr", $noauto);
+ my ($o) = @_;
+ require network::network;
+ network::network::easy_dhcp($o, $o->{netc}, $o->{intf});
}
#------------------------------------------------------------------------------
@@ -851,10 +850,11 @@ sub summary {
{ label => N("Timezone"), val => \$o->{timezone}{timezone}, clicked => sub { $o->configureTimezone(1) } },
{ label => N("Printer"), val => \$o->{printer}, clicked => sub { $o->configurePrinter(1) }, format => $format_printers },
{ label => N("Bootloader"), val => \$o->{bootloader}, clicked => sub { any::setupBootloader($o, $o->{bootloader}, $o->{all_hds}, $o->{fstab}, $o->{security}) }, format => sub { "$o->{bootloader}{method} on $o->{bootloader}{boot}" } },
-{ label => N("Graphical interface"), val => \$o->{raw_X}, clicked => sub { configureX($o, 'expert') }, format => sub { $o->{raw_X} ? Xconfig::resolution_and_depth::to_string($o->{raw_X}->get_resolution) : '' } },
- (map {
-{ label => N("ISDN card"), val => $_->{description}, clicked => sub { $o->configureNetwork } }
- } grep { $_->{driver} eq 'hisax' } detect_devices::probeall()),
+{ label => N("Graphical interface"), val => \$o->{raw_X}, clicked => sub { configureX($o, 'expert') }, format => sub { $o->{raw_X} ? Xconfig::resolution_and_depth::to_string($o->{raw_X}->get_resolution) : N("not configured") } },
+{ label => N("Network"), val => \$o->{netcnx}{type}, format => sub { $_[0] || N("not configured") }, clicked => sub {
+ require network::netconnect;
+ network::netconnect::main($o->{prefix}, $o->{netcnx} ||= {}, $o->{netc}, $o->{mouse}, $o, $o->{intf}, 0, $o->{lang} eq "fr_FR" && $o->{keyboard}{KEYBOARD} eq "fr", 1);
+ } },
(map {
my $device = $_;
{ label => N("Sound card"), val => $_->{description}, clicked => sub {