Increment usbdelay by 1 before sleeping
This should give us *just a bit* more delay before actually trying to do things with the usb devices. Annoying, but will probably be effective Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
7a98a216de
commit
f852276274
@ -57,8 +57,9 @@ run_hook ()
|
||||
msg ":: Waiting for devices to settle..."
|
||||
/sbin/udevadm trigger --subsystem-match=usb
|
||||
/sbin/udevadm settle
|
||||
msg ":: Waiting ${usbdelay:-0}s for USB devices"
|
||||
/bin/sleep "${usbdelay:-0}"
|
||||
usbdelay=$(( ${usbdelay:-0} + 1 ))
|
||||
msg ":: Waiting ${usbdelay}s for USB devices"
|
||||
/bin/sleep "${usbdelay}"
|
||||
|
||||
msg ":: Scanning for boot device..."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user