From 0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Oct 2003 16:36:02 +0000 Subject: forward workaround for anthill bug #18 (do not overwrite sound aliases when no hardware change) --- perl-install/standalone/service_harddrake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index f59c3c668..f8028b762 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -66,6 +66,11 @@ foreach (@harddrake::data::tree) { } else { @configurator_pool = $configurator; } + # automatic sound slots configuration + if ($Ident eq "AUDIO") { + harddrake::sound::configure_sound_slots(); + } + next unless -x first(split /\s+/, $configurator_pool[0]); foreach my $configurator (@configurator_pool) { my ($pid, $no); @@ -94,7 +99,5 @@ foreach (@harddrake::data::tree) { log::explanations("created file $last_boot_config"); Storable::store(\%config, $last_boot_config); -# automatic sound slots configuration -harddrake::sound::configure_sound_slots(); $in->exit(0) if $in; -- cgit v1.2.1