archboot/lib/initcpio/install/arch_fw
2009-12-06 10:10:45 +01:00

24 lines
484 B
Bash

# vim: set ft=sh:
install ()
{
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
}