2012-02-03 15:13:37 +01:00
|
|
|
#!/bin/bash
|
2010-03-17 14:43:11 +01:00
|
|
|
|
2012-02-03 15:13:37 +01:00
|
|
|
build() {
|
2011-06-18 23:38:58 +02:00
|
|
|
MODULES="nbd"
|
2010-03-18 03:23:13 +01:00
|
|
|
SCRIPT="archiso_pxe_nbd"
|
2010-03-17 14:43:11 +01:00
|
|
|
|
2012-02-03 14:58:01 +01:00
|
|
|
add_binary nbd-client
|
|
|
|
|
2012-03-05 00:58:58 +01:00
|
|
|
add_file /usr/lib/initcpio/archiso_pxe_nbd /archiso_pxe_nbd
|
2010-03-17 14:43:11 +01:00
|
|
|
}
|
|
|
|
|
2012-02-03 15:13:37 +01:00
|
|
|
help() {
|
2010-03-17 14:43:11 +01:00
|
|
|
cat<<HELPEOF
|
|
|
|
This hook loads the necessary modules for boot via PXE and NBD.
|
|
|
|
HELPEOF
|
|
|
|
}
|
2012-02-03 15:13:37 +01:00
|
|
|
|
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|