From 207dc545c88e7e55d5ea1219b09b7a736f632dc7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 10 Aug 2005 10:42:38 +0000 Subject: (floppies) in standalone mode, usb-storage is loaded by hotplug. manually loading it just slows down harddrake service startup --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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; } -- cgit v1.2.1