diff options
author | Francois Pons <fpons@mandriva.com> | 1999-09-07 13:38:46 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 1999-09-07 13:38:46 +0000 |
commit | 5d31c65a29a5be64fe46946651108e0e13242037 (patch) | |
tree | 31a9081dedce7b89bb8260ffb6f0256ec9ec60b6 /perl-install/install_steps_interactive.pm | |
parent | 13cafe674927c9f8b8feaadd0c4b6bc9e5104fb7 (diff) | |
download | drakx-backup-do-not-use-5d31c65a29a5be64fe46946651108e0e13242037.tar drakx-backup-do-not-use-5d31c65a29a5be64fe46946651108e0e13242037.tar.gz drakx-backup-do-not-use-5d31c65a29a5be64fe46946651108e0e13242037.tar.bz2 drakx-backup-do-not-use-5d31c65a29a5be64fe46946651108e0e13242037.tar.xz drakx-backup-do-not-use-5d31c65a29a5be64fe46946651108e0e13242037.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index c23fb4ab6..f09040eda 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -21,6 +21,7 @@ use lang; use pkgs; use keyboard; use fs; +use modparm; use log; use printer; @@ -541,13 +542,30 @@ information it needs? Occasionally, probing will hang a computer, but it should not cause any damage.", $l), [ __("Autoprobe"), __("Specify options") ], "Autoprobe") ne "Autoprobe") { ASK: - @options = split ' ', - $o->ask_from_entry('', -_("Here must give the different options for the module %s. -Options are in format ``name=value name2=value2 ...''. -For example you can have ``io=0x300 irq=7''", $l), - _("Module options:"), - ); + my $rnames = modparm::get_options_name($m); + my $rvalues = modparm::get_options_value($m); + + $o->ask_from_entries_ref('', +_("Here must give the different options for the module %s.", $l), + $rnames, $rvalues); + + @options = split ' ', modparm::get_options_result($m, $rvalues); +# @options = split ' ', +# $o->ask_from_entry('', +#_("Here must give the different options for the module %s. +#Options are in format ``name=value name2=value2 ...''. +#For example you can have ``io=0x300 irq=7''", $l), +# _("Module options:"), +# ); +#======= +# ASK: +# @options = split ' ', +# $o->ask_from_entry('', +#_("Here must give the different options for the module %s. +#Options are in format ``name=value name2=value2 ...''. +#For example you can have ``io=0x300 irq=7''", $l), +# _("Module options:"), +# ); } eval { modules::load($m, $type, @options) }; if ($@) { |