summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-08-10 10:42:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-08-10 10:42:38 +0000
commit207dc545c88e7e55d5ea1219b09b7a736f632dc7 (patch)
treedce1f1d7969c959284ea60d196e8d63b68a8c59d
parent16d600d0009a680ee936c749cbbe155bb1c17dc8 (diff)
downloaddrakx-backup-do-not-use-207dc545c88e7e55d5ea1219b09b7a736f632dc7.tar
drakx-backup-do-not-use-207dc545c88e7e55d5ea1219b09b7a736f632dc7.tar.gz
drakx-backup-do-not-use-207dc545c88e7e55d5ea1219b09b7a736f632dc7.tar.bz2
drakx-backup-do-not-use-207dc545c88e7e55d5ea1219b09b7a736f632dc7.tar.xz
drakx-backup-do-not-use-207dc545c88e7e55d5ea1219b09b7a736f632dc7.zip
(floppies) in standalone mode, usb-storage is loaded by hotplug. manually
loading it just slows down harddrake service startup
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 7855019f1..a92842a5b 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -64,7 +64,7 @@ sub floppies() {
my @ide = ls120s() and eval { modules::load("ide-floppy") };
- eval { modules::load("usb-storage") } if usbStorage();
+ eval { modules::load("usb-storage") } if $::isInstall && usbStorage();
my @scsi = grep { $_->{media_type} eq 'fd' } getSCSI();
@ide, @scsi, @fds;
}