summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-14 14:13:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-14 14:13:51 +0000
commitd491f672f74171724dd45cdb707aa36373b0bb2e (patch)
tree66ead896256172029180724776d9e6fe498fa836 /perl-install
parentb1920373cda1a4a517673c1f182486df1d6f21f5 (diff)
downloaddrakx-d491f672f74171724dd45cdb707aa36373b0bb2e.tar
drakx-d491f672f74171724dd45cdb707aa36373b0bb2e.tar.gz
drakx-d491f672f74171724dd45cdb707aa36373b0bb2e.tar.bz2
drakx-d491f672f74171724dd45cdb707aa36373b0bb2e.tar.xz
drakx-d491f672f74171724dd45cdb707aa36373b0bb2e.zip
handle removal of cards (#7049)
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 6a77d2898..318a8abee 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -140,6 +140,7 @@ foreach my $hw_class (@harddrake::data::tree) {
$modules_conf->write;
next;
} elsif (member($Ident, qw(AGP ATA_STORAGE SATA_STORAGE SCSI_CONTROLLER TV))) {
+ $modules_conf->remove_module(difference2([ uniq(map { $_->{driver} } values %$oldconfig) ], [ uniq(map { $_->{driver} } values %ID) ]));
# add agpgart and the like modules to modprobe.preload if needed:
$modules_conf->write;
next;