summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 1df867999..d8346cb0f 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -140,12 +140,12 @@ foreach my $hw_class (@harddrake::data::tree) {
next if $Ident eq 'MOUSE' && $curr_kernel ne $previous_kernel_config{KERNEL} && $cfg{"DETECT_$Ident"} ne 'force';
my @configurator_pool;
- if (harddrake::data::is_auto_configurable_media($Ident)) {
+ if (harddrake::data::is_auto_configurable_class($Ident)) {
foreach my $device (@ID{@added}) {
- push @configurator_pool, harddrake::data::set_media_auto_configurator($Ident, $device);
+ push @configurator_pool, harddrake::data::set_media_auto_configurator($device);
}
foreach my $device (@$oldconfig{@was_removed}) {
- push @configurator_pool, harddrake::data::set_media_remover($Ident, $device);
+ push @configurator_pool, harddrake::data::set_media_remover($device);
}
} else {
@configurator_pool = $configurator;