diff options
Diffstat (limited to 'hooks/usb')
-rw-r--r-- | hooks/usb | 7 |
1 files changed, 7 insertions, 0 deletions
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." +} |