summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-17 14:28:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-17 14:28:43 +0000
commit66b8cb8c70ad5a42469e5517b1906a14a45a6050 (patch)
tree44f8af5c6decad69b8ddda14fd3e70d6f1c8a839 /perl-install/standalone/service_harddrake
parentbfc6a7a21c571a02ae19e72396b6e3ca4482805e (diff)
downloaddrakx-66b8cb8c70ad5a42469e5517b1906a14a45a6050.tar
drakx-66b8cb8c70ad5a42469e5517b1906a14a45a6050.tar.gz
drakx-66b8cb8c70ad5a42469e5517b1906a14a45a6050.tar.bz2
drakx-66b8cb8c70ad5a42469e5517b1906a14a45a6050.tar.xz
drakx-66b8cb8c70ad5a42469e5517b1906a14a45a6050.zip
workaround anthill bug #18 (do not overwrite sound aliases when no hardware change)
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake7
1 files changed, 5 insertions, 2 deletions
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;