summaryrefslogtreecommitdiffstats
path: root/hooks/usb
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/usb')
-rw-r--r--hooks/usb8
1 files changed, 4 insertions, 4 deletions
diff --git a/hooks/usb b/hooks/usb
index 1a91fe2..576980a 100644
--- a/hooks/usb
+++ b/hooks/usb
@@ -1,8 +1,8 @@
# vim: set ft=sh:
run_hook ()
{
- #allow 'usbdelay' on the kernel param line
- msg -n "waiting for usb to settle..."
- /bin/sleep ${usbdelay:-5}
- msg "done."
+ #if we have to root delay, default to 5 seconds
+ # this will be handled by kinit and/or the
+ # filesystems hook
+ export rootdelay=${rootdelay:-5}
}