archboot/lib/initcpio/install/arch_fw
2008-12-06 19:12:19 +01:00

24 lines
502 B
Bash

# vim: set ft=sh:
install ()
{
MODULES=" $(checked_modules "/firewire/") $(checked_modules "/ieee1394/") "
MODULES=$(echo ${MODULES}) #trim whitespace
if [ -n "${MODULES}" ]; then
MODULES="${MODULES} sbp2 sd_mod"
fi
BINARIES=""
FILES=""
SCRIPT="fw"
}
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
}