summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-18 13:36:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-18 13:36:19 +0000
commite4758f567badfecda138fe13d60cfd1b469cd6cb (patch)
tree45dcb5c393a7b72d5881066c725efe070452dd50 /perl-install/harddrake/sound.pm
parent71548bc972647e7d32e5d1b127bb34377e19d1be (diff)
downloaddrakx-e4758f567badfecda138fe13d60cfd1b469cd6cb.tar
drakx-e4758f567badfecda138fe13d60cfd1b469cd6cb.tar.gz
drakx-e4758f567badfecda138fe13d60cfd1b469cd6cb.tar.bz2
drakx-e4758f567badfecda138fe13d60cfd1b469cd6cb.tar.xz
drakx-e4758f567badfecda138fe13d60cfd1b469cd6cb.zip
when installing, remember the new sound driver so that the user isn't
confused if he ever want to configure it again
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index f924d4832..0fcedc3a4 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -218,6 +218,7 @@ To use alsa, one can either use:
It has been reported to oops the kernel on unloading.\n
The new \"%s\" driver'll only be used on next bootstrap.", $driver, $new_driver)) if $blacklisted;
do_switch($in, $driver, $new_driver, $device->{sound_slot_index});
+ $device->{current_driver} = $new_driver;
}
} elsif ($driver =~ /^Bad:/) {
$driver =~ s/^Bad://;