From 66b8cb8c70ad5a42469e5517b1906a14a45a6050 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 17 Oct 2003 14:28:43 +0000 Subject: workaround 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(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index f59c3c668..87427a14a 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; } + if ($Ident eq "AUDIO") { + # automatic sound slots configuration + 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