mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
25 lines
502 B
Text
25 lines
502 B
Text
|
# 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
|
||
|
}
|
||
|
|