summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 508c07090..2746b3695 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -291,7 +291,7 @@ sub write_conf {
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";
+ run_program::rooted($prefix, "/bin/sh", "/sbin/generate-modprobe.conf", ">", "/etc/modprobe.conf") if -e "$prefix/etc/modprobe.conf";
}
sub append_to_etc_modules {