summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-09 14:41:59 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-09 14:41:59 +0000
commit64f6a87787ed814f82efcd0990cd6d642c59ecda (patch)
tree52fef3c00f3f2d670a1b5f6694eec0435c7b28a3 /mdk-stage1
parent10ced3b3839a01cfcddf8b112e003d17c3da972c (diff)
downloaddrakx-backup-do-not-use-64f6a87787ed814f82efcd0990cd6d642c59ecda.tar
drakx-backup-do-not-use-64f6a87787ed814f82efcd0990cd6d642c59ecda.tar.gz
drakx-backup-do-not-use-64f6a87787ed814f82efcd0990cd6d642c59ecda.tar.bz2
drakx-backup-do-not-use-64f6a87787ed814f82efcd0990cd6d642c59ecda.tar.xz
drakx-backup-do-not-use-64f6a87787ed814f82efcd0990cd6d642c59ecda.zip
wait for mass storage devices to be detected
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/probing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 9661d0484..a43c9bcb6 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -382,6 +382,9 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
my_insmod("usb-storage", SCSI_ADAPTERS, NULL, 0);
if (module_already_present("ieee1394"))
my_insmod("sbp2", SCSI_ADAPTERS, NULL, 0);
+ wait_message("Detecting USB mass-storage devices.");
+ sleep(10); /* sucking background work */
+ remove_wait_message();
}
}