27940c420f
* Add #!/bin/bash to install hooks and fixed vimlines. * Removed empty variables. * Reorder variables, adjust brace/parens in functions. * Removed things implemented in base hook (/tmp, /etc/fstab). Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
19 lines
291 B
Bash
19 lines
291 B
Bash
#!/bin/bash
|
|
|
|
build() {
|
|
MODULES="nbd"
|
|
SCRIPT="archiso_pxe_nbd"
|
|
|
|
add_binary nbd-client
|
|
|
|
add_file /lib/initcpio/archiso_pxe_nbd /archiso_pxe_nbd
|
|
}
|
|
|
|
help() {
|
|
cat<<HELPEOF
|
|
This hook loads the necessary modules for boot via PXE and NBD.
|
|
HELPEOF
|
|
}
|
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|