summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-25 16:45:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-25 16:45:02 +0000
commitb5d599940760ef999e42efb3b97a1bcaa32645c5 (patch)
tree822108887b1e735312af62f843d8158b58f5fbf5 /perl-install/standalone
parentad8900cd65a7095f42fc54c690a1777b8c9924f3 (diff)
downloaddrakx-b5d599940760ef999e42efb3b97a1bcaa32645c5.tar
drakx-b5d599940760ef999e42efb3b97a1bcaa32645c5.tar.gz
drakx-b5d599940760ef999e42efb3b97a1bcaa32645c5.tar.bz2
drakx-b5d599940760ef999e42efb3b97a1bcaa32645c5.tar.xz
drakx-b5d599940760ef999e42efb3b97a1bcaa32645c5.zip
when sound card is added/removed, delete current sound levels so that sound
service reset it to sg sane
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index c17f272f6..409d43588 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -69,6 +69,7 @@ foreach (@harddrake::data::tree) {
if ($Ident eq "AUDIO") {
# automatic sound slots configuration
harddrake::sound::configure_sound_slots();
+ system("rm -f /etc/asound.state");
} elsif ($Ident eq "ETHERNET") {
modules::remove_alias_regexp('^(wlan|eth)[0-9]*$');
modules::load_category('network/main|gigabit|usb');