summaryrefslogtreecommitdiffstats
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
parentb1920373cda1a4a517673c1f182486df1d6f21f5 (diff)
downloaddrakx-backup-do-not-use-d491f672f74171724dd45cdb707aa36373b0bb2e.tar
drakx-backup-do-not-use-d491f672f74171724dd45cdb707aa36373b0bb2e.tar.gz
drakx-backup-do-not-use-d491f672f74171724dd45cdb707aa36373b0bb2e.tar.bz2
drakx-backup-do-not-use-d491f672f74171724dd45cdb707aa36373b0bb2e.tar.xz
drakx-backup-do-not-use-d491f672f74171724dd45cdb707aa36373b0bb2e.zip
handle removal of cards (#7049)
-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;