Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_pxe_nbd
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-17 23:23:13 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-18 01:01:13 -0300
commitb3f657b54fbcc050552431d911e304fae17cc21e (patch)
treee329e6738e827086223a6326f2c707319a5f5f56 /archiso/install/archiso_pxe_nbd
parentecc3780db62640ea1cea8d8909ceab359ff8d838 (diff)
[archiso] Rename nbd hook to archiso_nbd
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install/archiso_pxe_nbd')
-rw-r--r--archiso/install/archiso_pxe_nbd20
1 files changed, 20 insertions, 0 deletions
diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd
new file mode 100644
index 0000000..4bebd15
--- /dev/null
+++ b/archiso/install/archiso_pxe_nbd
@@ -0,0 +1,20 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES="nbd $(checked_modules "/drivers/net/") "
+
+ 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
+}