summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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');