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
commit2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8 (patch)
tree108e64bd277b30dcfadb08ac0f333d8127bcb753
parent195bf8ddee366619283bcfdefe7162f5491d6ec4 (diff)
downloaddrakx-backup-do-not-use-2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8.tar
drakx-backup-do-not-use-2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8.tar.gz
drakx-backup-do-not-use-2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8.tar.bz2
drakx-backup-do-not-use-2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8.tar.xz
drakx-backup-do-not-use-2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8.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();
}
}