summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-06 17:07:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-06 17:07:36 +0000
commitac08650de73ce8ecd2ba9ea292dc29225f202884 (patch)
treefd0d2b55a8698b80b225a8dd3e90f048d9981dca /perl-install
parent938be8be5f383283ff823b3ebce8926cfde7c6b1 (diff)
downloaddrakx-backup-do-not-use-ac08650de73ce8ecd2ba9ea292dc29225f202884.tar
drakx-backup-do-not-use-ac08650de73ce8ecd2ba9ea292dc29225f202884.tar.gz
drakx-backup-do-not-use-ac08650de73ce8ecd2ba9ea292dc29225f202884.tar.bz2
drakx-backup-do-not-use-ac08650de73ce8ecd2ba9ea292dc29225f202884.tar.xz
drakx-backup-do-not-use-ac08650de73ce8ecd2ba9ea292dc29225f202884.zip
(summary): display sound/tv/isdn cards found
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 17099cf13..905834cb3 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -742,6 +742,15 @@ sub summary {
{ label => _("Keyboard"), val => \$o->{keyboard}, clicked => sub { $o->selectKeyboard(1) }, format => sub { translate(keyboard::keyboard2text($_[0])) } } },
{ label => _("Timezone"), val => \$o->{timezone}{timezone}, clicked => sub { $o->configureTimezone(1) } },
{ label => _("Printer"), val => \$o->{printer}{mode}, clicked => sub { $o->configurePrinter(1) }, format => sub { $_[0] || _("No printer") } },
+ (map {
+{ label => _("Sound card"), val => \ (my $i = $_->{description}), clicked => {} }
+ } modules::get_that_type('sound')),
+ (map {
+{ label => _("TV card"), val => \ (my $i = $_->{description}), clicked => {} }
+ } { $_->{driver} eq 'bttv' } detect_devices::probeall()),
+ (map {
+{ label => _("ISDN card"), val => \ (my $i = $_->{description}), clicked => { $o->configureNetwork } }
+ } { $_->{driver} eq 'hisax' } detect_devices::probeall()),
]);
}