archboot/usr/lib/initcpio/install/arch_fw
2012-03-07 08:23:18 +01:00

24 lines
517 B
Text

# 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
}