mirror of
				https://github.com/optim-enterprises-bv/secureblue.git
				synced 2025-11-03 20:07:53 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			401 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			401 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# Tell build process to exit if there are any errors.
 | 
						|
set -oue pipefail
 | 
						|
 | 
						|
 | 
						|
echo '
 | 
						|
 | 
						|
# Nvidia modesetting support. Set to 0 or comment to disable kernel modesetting
 | 
						|
# support. This must be disabled in case of SLI Mosaic.
 | 
						|
 | 
						|
options nvidia-drm modeset=1 fbdev=1
 | 
						|
 | 
						|
' > /usr/lib/modprobe.d/nvidia-modeset.conf
 | 
						|
 | 
						|
cp /usr/lib/modprobe.d/nvidia-modeset.conf /etc/modprobe.d/nvidia-modeset.conf |