# Created by Tobias Powalowski <tpowa@archlinux.org>

build ()
{
    MODULES=" $(checked_modules "/firewire/") "

    MODULES=$(echo ${MODULES}) #trim whitespace
    if [ -n "${MODULES}" ]; then
        MODULES="${MODULES} firewire-sbp2 sr_mod sd_mod"
    fi
    BINARIES=""
    FILES=""
    SCRIPT=""
}

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