From 8a23e0f29d13743fb634ba02310f78dda17e76e1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 8 Apr 2009 12:39:42 +0000 Subject: do not try to add media to /etc/fstab (#49621) --- perl-install/standalone/service_harddrake | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index e5af418f4..deaea0b8d 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -149,17 +149,8 @@ foreach my $hw_class (@harddrake::data::tree) { next if $Ident eq 'MOUSE' && $kernel_major ne $previous_kernel_config{KERNEL} && $cfg{"DETECT_$Ident"} ne 'force'; - my @configurator_pool; - if (harddrake::data::is_auto_configurable_class($Ident)) { - foreach my $device (@ID{@added}) { - push @configurator_pool, harddrake::data::set_media_auto_configurator($device); - } - foreach my $device (@$oldconfig{@was_removed}) { - push @configurator_pool, harddrake::data::set_media_remover($device); - } - } else { - @configurator_pool = $configurator; - } + my @configurator_pool = $configurator; + if ($Ident eq "AUDIO") { # automatic sound slots configuration rm_rf("/etc/asound.state") if -e "/etc/asound.state"; -- cgit v1.2.1