diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-02-16 13:55:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-02-16 13:55:17 +0000 |
commit | 01c0f56e97e0b45f0c3502cbbfe406f810bf891a (patch) | |
tree | fd079498acbe0714f050a697a2655ed424fad255 /perl-install/modules.pm | |
parent | ac569e28af6c4fcde5c6740f04897b4be4db9f3a (diff) | |
download | drakx-01c0f56e97e0b45f0c3502cbbfe406f810bf891a.tar drakx-01c0f56e97e0b45f0c3502cbbfe406f810bf891a.tar.gz drakx-01c0f56e97e0b45f0c3502cbbfe406f810bf891a.tar.bz2 drakx-01c0f56e97e0b45f0c3502cbbfe406f810bf891a.tar.xz drakx-01c0f56e97e0b45f0c3502cbbfe406f810bf891a.zip |
(when_load_category) do not bother preloading sd_mod for ide drivers
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index cc8e914eb..b3acc1320 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -274,7 +274,7 @@ sub when_load_category { if ($category =~ m,disk/(ide|scsi|hardware_raid|sata|usb|firewire),) { $conf->add_probeall('scsi_hostadapter', $name); - eval { load('sd_mod') }; + eval { load('sd_mod') } if !$category eq 'disk/ide'; } elsif ($category eq 'bus/usb') { $conf->add_probeall('usb-interface', $name); -f '/proc/bus/usb/devices' or eval { |