summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/service_harddrake5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index deaea0b8d..c2705d042 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -186,7 +186,10 @@ foreach my $hw_class (@harddrake::data::tree) {
$modules_conf->remove_module(difference2(\@old_drivers, \@new_drivers));
# add agpgart and the like modules to modprobe.preload if needed:
$modules_conf->write;
- modules::load(difference2(\@new_drivers, \@old_drivers));
+ foreach (difference2(\@new_drivers, \@old_drivers)) {
+ eval { modules::load($_) };
+ warn "warning: $@" if $@;
+ }
next;
} elsif ($Ident eq "BLUETOOTH") {
harddrake::autoconf::bluetooth(scalar keys %ID);