From 5dc9147d206037548eace68caaaceeeb70849d81 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 9 Oct 2003 19:33:27 +0000 Subject: use /sbin/modprobe in move also --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/modules.pm') 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; -- cgit v1.2.1