archboot/usr/lib/initcpio/install/arch_fw

25 lines
517 B
Text
Raw Normal View History

2009-12-11 11:32:41 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
2008-10-20 22:39:25 +02:00
build ()
2008-10-20 22:39:25 +02:00
{
2009-12-06 10:10:45 +01:00
MODULES=" $(checked_modules "/firewire/") "
2008-10-20 22:39:25 +02:00
MODULES=$(echo ${MODULES}) #trim whitespace
if [ -n "${MODULES}" ]; then
2009-12-06 10:10:45 +01:00
MODULES="${MODULES} firewire-sbp2 sr_mod sd_mod"
2008-10-20 22:39:25 +02:00
fi
BINARIES=""
FILES=""
2009-06-17 16:13:21 +02:00
SCRIPT=""
2008-10-20 22:39:25 +02:00
}
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
}