summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install12
1 files changed, 12 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..01441fa0d22b
--- /dev/null
+++ b/install
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+build () {
+ add_module mlx4_core
+ add_module mlx4_en
+}
+
+help () {
+ cat << EOF
+This hook will just add mlx4_{core,en} modules to initrd. Useful to use Mellanox NICs with mkinitcpio-netconf.
+EOF
+}