aboutsummarylogtreecommitdiffstats
path: root/live_usb
blob: 8abbe06444a1d0b86837dc3625430681a799abfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
build(){
    map add_module usb_storage? sd_mod?
    # usb
    add_checked_modules -f '(_cs|sl811_hcd|isp116x_hcd)' '/usb/host'
    add_checked_modules '/drivers/usb/storage/'

}

help() {
    cat <<HELPEOF
This hook loads the necessary modules for usb block devices. Detection will take
place at runtime. To minimize the modules in the image, add the autodetect hook
too.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: