8c17a5d040
My previous attempt at forcing the mellanox module to load was completely bogus. This should not be (although I lack hardware to be 100% sure). Change-Id: I22ff88181c9c9f0c024e021eeb7f16d79715241a Closes-Bug: #1233949
10 lines
210 B
Bash
Executable File
10 lines
210 B
Bash
Executable File
#!/bin/bash
|
|
# Ensure we load the mellanox driver somehow
|
|
|
|
set -e
|
|
|
|
home=$(dirname $0)
|
|
|
|
install -m 0644 -o root -g root $home/mellanox-rules.udev /etc/udev/rules.d/81-mellanox.rules
|
|
echo "mlx4_en" >>/etc/modules
|