]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Add a wait to installer
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 21 May 2009 22:56:06 +0000 (00:56 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 21 May 2009 22:56:06 +0000 (00:56 +0200)
Sometimes USB Sourcedevices was not ready at source scan

src/install+setup/install/main.c

index 8c7f064364cf45c4f3a640affcfcd6bbe2c73e1f..20b868fa344afc070ef4a50183d3632f04a166b3 100644 (file)
@@ -128,6 +128,8 @@ int main(int argc, char *argv[])
        mysystem("/sbin/modprobe iso9660"); // CDROM
        mysystem("/sbin/modprobe ext2"); // Boot patition
        mysystem("/sbin/modprobe vfat"); // USB key
+
+       runcommandwithstatus("/bin/sleep 10", "Waiting for USB Hardware ...");
        
        /* German is the default */
        for (choice = 0; langnames[choice]; choice++)