diff options
Diffstat (limited to 'perl-install/standalone/draksound')
-rwxr-xr-x | perl-install/standalone/draksound | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |