# vim: set ft=sh:

install ()
{
    MODULES="nbd $(checked_modules "/drivers/net/" | grep -v -e "/irda/" -e "/phy/" -e "/plip" -e "/ppp" -e "/wimax/" -e "/wireless/") "

    BINARIES=""
    FILES=""
    SCRIPT="archiso_pxe_nbd"

    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
}