mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-11-04 12:59:22 +00:00 
			
		
		
		
	Update unifi.sh
add AVX instruction set check
This commit is contained in:
		
							parent
							
								
									cfa1b2e04d
								
							
						
					
					
						commit
						2febf2c39b
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user