Files
core-build/build/profiles/freenas/ValidateUpdate
2017-05-08 14:23:43 -07:00

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