1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/usr/bin/env bash build() { add_module "nfs" add_runscript add_binary /usr/lib/initcpio/nfsmount /bin/nfsmount } help() { cat <<HELPEOF This hook loads the necessary modules for boot via PXE and NFS. HELPEOF }