mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user