From 9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 28 Jan 2005 11:28:49 +0000 Subject: fix PCMCIA autoconfig in harddrake service --- perl-install/standalone/service_harddrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') 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; -- cgit v1.2.1