summaryrefslogtreecommitdiff
path: root/archiso/hooks/archiso-early
blob: 884c4be3f7bf94cbed7926a9431135e4dec5c67e (plain)
1
2
3
4
5
6
7
8
# vim: set ft=sh:
run_hook ()
{
    # Set our usbdelay time. Default: 0
    cd /
    /bin/mkdir -p etc/modprobe.d/
    echo "options usb-storage delay_use=${usbdelay:-0}" > /etc/modprobe.d/usb-delay
}