summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-04 22:25:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-04 22:25:15 +0000
commit9602001c7823079a8e8ca0e737a8fe2f6c0db0d2 (patch)
tree6a4a4b5bb040972c82f8f23a7f154b7631d95591 /perl-install/detect_devices.pm
parentb5b714420602230508f199cb392d21c4410a4f1d (diff)
downloaddrakx-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar
drakx-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar.gz
drakx-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar.bz2
drakx-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar.xz
drakx-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.zip
adapt to new modules.pm
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm13
1 files changed, 2 insertions, 11 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index e9d13ea63..4bb3b7f18 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -239,15 +239,6 @@ sub getATARAID {
}
sub getNet() {
-# my @a;
-# foreach (@netdevices) {
-# $::isStandalone && /plip/ and next;
-# print (" hhhhh $_ \n");
-# /ippp/ and run_program::rooted("", "/sbin/isdnctrl addif $_");
-# c::hasNetDevice($_) and push @a, $_;
-# }
-# /ippp/ and run_program::rooted("", "/sbin/isdnctrl delif $_") foreach @netdevices;
-# @a;
grep { !(($::isStandalone || $::live) && /plip/) && c::hasNetDevice($_) } @netdevices;
}
@@ -344,7 +335,7 @@ sub stringlist {
sub check {
my ($l) = @_;
my $ok = $l->{driver} !~ /(unknown|ignore)/;
- $ok or log::l("skipping $l->{description}, no module available (if you know one, please mail install\@mandrakesoft.com)");
+ $ok or log::l("skipping $l->{description}, no module available (if you know one, please mail cooker\@mandrakesoft.com)");
$ok
}
@@ -579,7 +570,7 @@ sub raidAutoStart {
my %personalities = ( '1' => 'linear', '2' => 'raid0', '3' => 'raid1', '4' => 'raid5' );
raidAutoStartIoctl() or log::l("warning, RAID_AUTORUN not supported by kernel"), return;
if (my @needed_perso = map { if_(/^kmod: failed.*md-personality-(.)/, $personalities{$1}) } syslog()) {
- log::l("RAID: autostart needs personality from $_"), eval { modules::load($_) } foreach @needed_perso;
+ log::l("RAID: autostart needs personality from $_"), eval { modules::load(@needed_perso) };
return raidAutoStartIoctl();
} else {
1;