From 8cd320d720618b7b883d50d1d3cfd5c1662d61e6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 11 Sep 2002 09:01:43 +0000 Subject: - fix: we displayed current driver as default one: display the right one - show a wait message while switching driver --- perl-install/standalone/draksound | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/draksound') diff --git a/perl-install/standalone/draksound b/perl-install/standalone/draksound index a1c056d53..8af6154aa 100755 --- a/perl-install/standalone/draksound +++ b/perl-install/standalone/draksound @@ -39,7 +39,8 @@ if (@devices) { # allocate sound-slot in the same order as install2.pm # fill $device->{driver} with the right sound-slot-XX or default driver if missing sound-slot [real fix'll be in harddrake service] my $driver = modules::get_alias("sound-slot-$::i"); - $_->{driver} = $driver if $driver; + $driver = modules::get_alias($driver) if $driver =~ /sound-card/; # alsaconf ... + $_->{current_driver} = $driver if $driver; harddrake::sound::config($in, $_); } modules::probe_category('multimedia/sound'); } else { -- cgit v1.2.1