2010-03-17 14:43:11 +01:00
|
|
|
# vim: set ft=sh:
|
|
|
|
|
|
|
|
install ()
|
|
|
|
{
|
2010-05-16 11:29:15 +02:00
|
|
|
MODULES="nbd $(checked_modules "/drivers/net/" | grep -v -e "/irda/" -e "/phy/" -e "/plip" -e "/ppp" -e "/wimax/" -e "/wireless/") "
|
2010-03-17 14:43:11 +01:00
|
|
|
|
|
|
|
BINARIES=""
|
|
|
|
FILES=""
|
2010-03-18 03:23:13 +01:00
|
|
|
SCRIPT="archiso_pxe_nbd"
|
2010-03-17 14:43:11 +01:00
|
|
|
|
|
|
|
add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
|
|
|
|
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"
|
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook loads the necessary modules for boot via PXE and NBD.
|
|
|
|
HELPEOF
|
|
|
|
}
|