From ff2dcb0c7222726aa7ff574311b8951e42a01907 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 20 Jan 2004 23:50:29 +0000 Subject: - ugly hack to temporary handle reading ide_cd in /proc/modules whereas we insmoded ide-cd - removing load_ide() (unused) --- perl-install/modules.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'perl-install') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 8252057ce..09dc9fcc4 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -39,7 +39,7 @@ sub load { dependencies_closure($name); } @_; - @l = difference2([ uniq(@l) ], [ loaded_modules() ]) or return; + @l = difference2([ uniq(@l) ], [ map { my $s = $_; $s =~ s/_/-/g; $s, $_ } loaded_modules() ]) or return; my $network_module = do { my ($network_modules, $other) = partition { module2category($_) =~ m,network/(main|gigabit|usb), } @l; @@ -129,10 +129,6 @@ sub probe_category { } detect_devices::probeall(); } -sub load_ide() { - eval { load("ide-cd") } -} - #-############################################################################### #- modules.conf functions -- cgit v1.2.1