mirror of
				https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
				synced 2025-10-31 18:36:33 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			483 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			483 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| # Function to check if Secure Boot is activated
 | |
| check_secure_boot() {
 | |
|     if ! command -v mokutil &> /dev/null; then
 | |
|         echo "mokutil command not found. Please install it to check Secure Boot status."
 | |
|         exit 1
 | |
|     fi
 | |
| 
 | |
|     # Check if Secure Boot is enabled
 | |
|     if mokutil --sb-state | grep -q 'Secure Boot enabled'; then
 | |
|         echo "Secure Boot is enabled."
 | |
|     else
 | |
|         echo "Secure Boot is not enabled."
 | |
|     fi
 | |
| }
 | |
| 
 | |
| # Call the function
 | |
| check_secure_boot
 |