mirror of
				https://github.com/optim-enterprises-bv/secureblue.git
				synced 2025-11-03 20:07:53 +00:00 
			
		
		
		
	feat: disable auxiliary services by default
This commit is contained in:
		
							
								
								
									
										8
									
								
								files/scripts/disablealsastate.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								files/scripts/disablealsastate.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# Tell build process to exit if there are any errors.
 | 
			
		||||
set -oue pipefail
 | 
			
		||||
 | 
			
		||||
echo "Disabling the alsa state daemon"
 | 
			
		||||
systemctl disable alsa-state
 | 
			
		||||
systemctl mask alsa-state
 | 
			
		||||
							
								
								
									
										8
									
								
								files/scripts/disablemodemmanager.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								files/scripts/disablemodemmanager.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# Tell build process to exit if there are any errors.
 | 
			
		||||
set -oue pipefail
 | 
			
		||||
 | 
			
		||||
echo "Disabling the modem manager"
 | 
			
		||||
systemctl disable ModemManager
 | 
			
		||||
systemctl mask ModemManager
 | 
			
		||||
@@ -3,4 +3,6 @@ scripts:
 | 
			
		||||
  - disablecups.sh
 | 
			
		||||
  - disablesshd.sh
 | 
			
		||||
  - disableavahidaemon.sh
 | 
			
		||||
  - disablealsastate.sh
 | 
			
		||||
  - disablemodemmanager.sh
 | 
			
		||||
  - justfilehardening.sh
 | 
			
		||||
		Reference in New Issue
	
	Block a user