From ea20a441f8fecc9fa84e0e1f12c4b71bf436f872 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 21 Apr 2006 23:00:28 +0000 Subject: Hook updates and changes... git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@7 880c04e9-e011-0410-abf7-b926e227c9cd --- hooks/usb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hooks/usb (limited to 'hooks/usb') diff --git a/hooks/usb b/hooks/usb new file mode 100644 index 0000000..5766ef9 --- /dev/null +++ b/hooks/usb @@ -0,0 +1,7 @@ +# vim: set ft=sh: +run_hook () +{ + msg -n "Loading usb modules..." + /bin/modprobe -aq $(/bin/cat /sys/bus/usb/devices/*/modalias) >/dev/null 2>&1 + msg "done." +} -- cgit v1.2.3-24-g4f1b