summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-26 01:22:29 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-26 01:22:29 +0000
commit1e78878284ac272034530baee6e42e1062b07b6e (patch)
tree108e64bd277b30dcfadb08ac0f333d8127bcb753
parent32eb3b24ec42c5d656e6e37dc76ce5dc9f283869 (diff)
downloaddrakx-1e78878284ac272034530baee6e42e1062b07b6e.tar
drakx-1e78878284ac272034530baee6e42e1062b07b6e.tar.gz
drakx-1e78878284ac272034530baee6e42e1062b07b6e.tar.bz2
drakx-1e78878284ac272034530baee6e42e1062b07b6e.tar.xz
drakx-1e78878284ac272034530baee6e42e1062b07b6e.zip
do not wait 10s for USB probing when in debug mode
-rw-r--r--mdk-stage1/probing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 50fd9d917..d841941b3 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -555,7 +555,9 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
if (module_already_present("ieee1394"))
my_insmod("sbp2", MEDIA_ADAPTERS, NULL, 0);
wait_message("Detecting USB mass-storage devices.");
+#ifndef DEBUG
sleep(10); /* sucking background work */
+#endif
remove_wait_message();
}
}