slowusb: move sleep 10 call after start_dev_mgr.
authorFabio Erculiani <lxnay@sabayon.org>
Tue, 11 Jan 2011 23:27:40 +0000 (00:27 +0100)
committerFabio Erculiani <lxnay@sabayon.org>
Tue, 11 Jan 2011 23:27:40 +0000 (00:27 +0100)
If mdev -s will trigger something that involves usb-storage, sleeping
after its startup is safer.

defaults/linuxrc

index 1b2f3c220029e064e94dee90f24a9740ede7b318..e059314d7cb1035b8f1c6517a03096985d836dea 100755 (executable)
@@ -291,12 +291,13 @@ sdelay
 
 # Setup slow USB bits
 setup_slowusb
-# if doslowusb is passed, pause other 10 seconds
-[ "${DO_slowusb}" ] && sleep 10
 
 # Start device manager
 start_dev_mgr
 
+# if doslowusb is passed, pause other 10 seconds here, after mdev load
+[ "${DO_slowusb}" ] && sleep 10
+
 # Start iSCSI
 startiscsi