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_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 3ceb9facc..2674ccf63 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -144,7 +144,7 @@ foreach my $hw_class (@harddrake::data::tree) {
$modules_conf->write;
next;
} elsif ($Ident eq "PCMCIA_CONTROLLER") {
- harddrake::autoconf::pcmcia($added[0]->{driver});
+ harddrake::autoconf::pcmcia(first(values(%ID))->{driver});
} elsif ($Ident eq "USB_CONTROLLER") {
modules::load_category($modules_conf, 'bus/usb');
$modules_conf->write;