Update unifi.sh

add AVX instruction set check
pull/3406/head
tteckster 4 months ago committed by GitHub
parent cfa1b2e04d
commit 2febf2c39b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,6 +17,10 @@ cat <<"EOF"
EOF EOF
} }
header_info header_info
if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then
echo "AVX instruction set is not supported on this CPU."
exit
fi
echo -e "Loading..." echo -e "Loading..."
APP="Unifi" APP="Unifi"
var_disk="8" var_disk="8"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.