summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-01-28 11:28:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-01-28 11:28:49 +0000
commit9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0 (patch)
treea6c227f7721c3d812a865144f6c8e722beee19e9 /perl-install/standalone/service_harddrake
parentc3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7 (diff)
downloaddrakx-9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0.tar
drakx-9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0.tar.gz
drakx-9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0.tar.bz2
drakx-9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0.tar.xz
drakx-9c3ecd2bf73e0fdafaf5059f19ca6b62c35796c0.zip
fix PCMCIA autoconfig in harddrake service
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;