Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/hooks/archiso-early
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/hooks/archiso-early')
-rw-r--r--archiso/hooks/archiso-early8
1 files changed, 8 insertions, 0 deletions
diff --git a/archiso/hooks/archiso-early b/archiso/hooks/archiso-early
new file mode 100644
index 0000000..0a83218
--- /dev/null
+++ b/archiso/hooks/archiso-early
@@ -0,0 +1,8 @@
+# vim: set ft=sh:
+run_hook ()
+{
+ # Set our usbdelay time. Default: 0
+ /bin/mkdir -p /etc/modprobe.d/
+ echo "options usb-storage delay_use=${usbdelay:-0}" >/
+ /etc/modprobe.d/usb-delay
+}