Merge pull request #273 from freenas/NAS-108320

NAS-108320 / 12.0 / Create hint.isp.{i}.role=2 tunables on non-iX hardware
This commit is contained in:
William Grzybowski
2021-01-14 16:34:34 -03:00
committed by GitHub

View File

@@ -99,6 +99,12 @@ post-upgrade =
fi
rm -f /data/sentinels/unscheduled-reboot
if dmidecode -s system-product-name | egrep "^(FREE|TRUE)NAS" > /dev/null; then
for i in `seq 0 3`; do
echo "hint.isp.$i.role=2" >> /boot/loader.conf.local
done
fi
[Files]
exclude = /usr/local/www/freenasUI
/usr/local/www/data/docs