summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-30 21:03:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-30 21:03:04 +0000
commit9aad8255d63b27c26a04ce7cc7bc90bb89ebb31f (patch)
treeb5e199aba35844ae69037a01d6b22836c912c049 /perl-install
parentb69a22cc542a4f20be646ec651f0c294c8d8c8d4 (diff)
downloaddrakx-9aad8255d63b27c26a04ce7cc7bc90bb89ebb31f.tar
drakx-9aad8255d63b27c26a04ce7cc7bc90bb89ebb31f.tar.gz
drakx-9aad8255d63b27c26a04ce7cc7bc90bb89ebb31f.tar.bz2
drakx-9aad8255d63b27c26a04ce7cc7bc90bb89ebb31f.tar.xz
drakx-9aad8255d63b27c26a04ce7cc7bc90bb89ebb31f.zip
(make): replace commands::modprobe by modules::load as it should (or??)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/raid.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index ddc2034ac..1f2275706 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -11,6 +11,7 @@ use partition_table qw(:types);
use run_program;
use devices;
use commands;
+use modules;
use fs;
sub nb($) {
@@ -120,7 +121,7 @@ sub make {
my ($raid, $part) = @_;
isMDRAID($_) and make($raid, $_) foreach @{$part->{disks}};
my $dev = devices::make($part->{device});
- eval { commands::modprobe(module($part)) };
+ eval { modules::load(module($part)) };
run_program::run("raidstop", $dev);
&write($raid, "/etc/raidtab");
run_program::run("mkraid", "--really-force", $dev) or die