diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-26 01:22:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-26 01:22:29 +0000 |
commit | 2128b9a18ce1875fe6f79d8bd163e81f9b9a68f8 (patch) | |
tree | 108e64bd277b30dcfadb08ac0f333d8127bcb753 /mdk-stage1 | |
parent | 195bf8ddee366619283bcfdefe7162f5491d6ec4 (diff) | |
download | drakx-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
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/probing.c | 2 |
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(); } } |