mirror of
https://github.com/truenas/core-build.git
synced 2026-02-21 18:38:19 +00:00
12 lines
185 B
Bash
12 lines
185 B
Bash
#!/bin/sh
|
|
|
|
pciconf -l | grep -q "chip=0x....1aed"
|
|
if [ $? = 0 ]; then # Fusion-I/O card has been found
|
|
echo "TrueNAS 11 does not support Fusion-I/O cards" 1>&2
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|
|
|
|
|