From b5d599940760ef999e42efb3b97a1bcaa32645c5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 25 Feb 2004 16:45:02 +0000 Subject: when sound card is added/removed, delete current sound levels so that sound service reset it to sg sane --- perl-install/standalone/service_harddrake | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone/service_harddrake') 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'); -- cgit v1.2.1