summaryrefslogtreecommitdiffstats
path: root/install/scsi
blob: 4c2abc5e6622987dac9ed95cae5c2c7b5b7e9e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

build(){

    MODULES="$(checked_modules "/scsi/" | grep -vE '(imm|ata|pcmcia)')
             $(checked_modules "/block/" | grep -E '(cciss|cpqarray|DAC960)')
             $(checked_modules "/fusion/")"

    [[ $MODULES ]] && MODULES+=" sd_mod?"
}

help() {
    cat <<HELPEOF
This hook loads the necessary modules for an scsi root device. 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: