Update unifi.sh
add AVX instruction set check
This commit is contained in:
parent
cfa1b2e04d
commit
2febf2c39b
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ cat <<"EOF"
|
|||
EOF
|
||||
}
|
||||
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..."
|
||||
APP="Unifi"
|
||||
var_disk="8"
|
||||
|
|
Loading…
Reference in a new issue