summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-09 19:33:27 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-09 19:33:27 +0000
commit5dc9147d206037548eace68caaaceeeb70849d81 (patch)
treea77670ee6a0cafd38ab5e2862e5e9f9cf0309ee4 /perl-install
parent20ec59e5e3d8e532bf22cfa7d696a6ceef9ecc42 (diff)
downloaddrakx-5dc9147d206037548eace68caaaceeeb70849d81.tar
drakx-5dc9147d206037548eace68caaaceeeb70849d81.tar.gz
drakx-5dc9147d206037548eace68caaaceeeb70849d81.tar.bz2
drakx-5dc9147d206037548eace68caaaceeeb70849d81.tar.xz
drakx-5dc9147d206037548eace68caaaceeeb70849d81.zip
use /sbin/modprobe in move also
Diffstat (limited to 'perl-install')
-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 552774cf7..0de238880 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -55,7 +55,7 @@ sub load {
if ($::testing || $::blank) {
log::l("i would load module $_ (" . join(" ", @{$options{$_}}) . ")") foreach @l;
- } elsif ($::isStandalone || $::live) {
+ } elsif ($::isStandalone || $::live || $::move) {
run_program::run('/sbin/modprobe', $_, @{$options{$_}})
or !run_program::run('/sbin/modprobe', '-n', $_) #- ignore missing modules
or die "insmod'ing module $_ failed" foreach @l;