diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-04 15:33:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-04 15:33:55 -0300 |
commit | 6bdcc59f94ecd2fd84facda953f92e1d2a5cf727 (patch) | |
tree | e3348a3a05ae33a3d6040f2f7a38a260cdc4a065 /archiso/install/archiso_pxe_nbd | |
parent | 64a660adb9a1ad658874759c186e0e9cbf138e63 (diff) |
updating all files
Diffstat (limited to 'archiso/install/archiso_pxe_nbd')
-rw-r--r-- | archiso/install/archiso_pxe_nbd | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd index c8ba1a4..1ee3910 100644 --- a/archiso/install/archiso_pxe_nbd +++ b/archiso/install/archiso_pxe_nbd @@ -1,24 +1,18 @@ -# vim: set ft=sh: +#!/bin/bash -build () -{ +build() { MODULES="nbd" - MODULES="${MODULES} $(comm -2 -3 <(checked_modules "/drivers/net/" | sort) \ - <(find $MODULEDIR/kernel/drivers/net/{irda,phy,wimax,wireless} \ - -name '*.ko*' \ - -exec bash -c 'printf "%s\n" "${@%%.ko*}" | sed "s@.*/@@;s@-@_@" | sort' _ {} +) \ - | grep -v -e 'ppp_' -e 'plip' -e 'pppoe')" - BINARIES="" - FILES="" SCRIPT="archiso_pxe_nbd" - add_binary "/usr/sbin/nbd-client" "/bin/nbd-client" - add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig" + add_binary nbd-client + + add_file /usr/lib/initcpio/archiso_pxe_nbd /archiso_pxe_nbd } -help () -{ +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: |