summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-11 14:30:35 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-11 14:30:35 +0000
commita6330e7e8e76b5c5e72fed80e1d868ba70a1d40a (patch)
tree62c5c2007d8e23620b3b4165ed2d7a75fc9c278a /perl-install/standalone/service_harddrake
parent6f47315378630e052365cc64eefd8b38a8d2880c (diff)
downloaddrakx-backup-do-not-use-a6330e7e8e76b5c5e72fed80e1d868ba70a1d40a.tar
drakx-backup-do-not-use-a6330e7e8e76b5c5e72fed80e1d868ba70a1d40a.tar.gz
drakx-backup-do-not-use-a6330e7e8e76b5c5e72fed80e1d868ba70a1d40a.tar.bz2
drakx-backup-do-not-use-a6330e7e8e76b5c5e72fed80e1d868ba70a1d40a.tar.xz
drakx-backup-do-not-use-a6330e7e8e76b5c5e72fed80e1d868ba70a1d40a.zip
fix removing a PCMCIA controller
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index e25f48b9d..e72c8cb94 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -144,6 +144,7 @@ foreach my $hw_class (@harddrake::data::tree) {
$modules_conf->write;
next;
} elsif ($Ident eq "PCMCIA_CONTROLLER") {
+ $ID{none}->{driver} = '' if is_empty_hash_ref(@added) && @was_removed;
harddrake::autoconf::pcmcia(first(values(%ID))->{driver});
} elsif ($Ident eq "USB_CONTROLLER") {
modules::load_category($modules_conf, 'bus/usb');