summaryrefslogtreecommitdiffstats
path: root/hooks/usb
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-10 04:56:28 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-10 04:56:28 +0200
commitb1d62938f81f41bfe84dca26de9edc0f91c11996 (patch)
tree3bfca625382a5c23c138cf8f81bfd3dfec22f326 /hooks/usb
parent1851e5bb06747c54e0cb19371c6f1851eefd851e (diff)
downloadmkinitcpio-b1d62938f81f41bfe84dca26de9edc0f91c11996.tar.gz
mkinitcpio-b1d62938f81f41bfe84dca26de9edc0f91c11996.tar.xz
udev: remove extra copy of ieee1394
init/usb/fs: modify rootdelay handling filesystems: additional error checking, handing for numeric root devices mkinitcpio: remove /tmp modules directory if used git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@90 880c04e9-e011-0410-abf7-b926e227c9cd
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}
}