summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 37efa5aca..e535c1c75 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -289,6 +289,9 @@ sub write_conf {
push @l, 'scsi_hostadapter' if !is_empty_array_ref($conf{scsi_hostadapter}{probeall});
push @l, 'bttv' if any { $_->{driver} eq 'bttv' } detect_devices::probeall();
append_to_etc_modules($prefix, @l);
+
+ #- use module-init-tools script for the moment
+ run_program::rooted($prefix, "/sbin/generate-modprobe.conf", ">", "/etc/modprobe.conf") if (-e "$prefix/etc/modprobe.conf");
}
sub append_to_etc_modules {