index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archiso/hooks/archiso | 5 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index 3df0dcc..d38cc30 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -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..." |