mirror of
				https://github.com/optim-enterprises-bv/secureblue.git
				synced 2025-11-04 04:18:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			560 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			560 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# Tell build process to exit if there are any errors.
 | 
						|
set -oue pipefail
 | 
						|
 | 
						|
echo "Disabling NFS daemons"
 | 
						|
systemctl disable nfs-idmapd
 | 
						|
systemctl mask nfs-idmapd
 | 
						|
 | 
						|
systemctl disable nfs-mountd
 | 
						|
systemctl mask nfs-mountd
 | 
						|
 | 
						|
systemctl disable nfsdcld
 | 
						|
systemctl mask nfsdcld
 | 
						|
 | 
						|
systemctl disable rpc-gssd
 | 
						|
systemctl mask rpc-gssd
 | 
						|
 | 
						|
systemctl disable rpc-statd-notify
 | 
						|
systemctl mask rpc-statd-notify
 | 
						|
 | 
						|
systemctl disable rpc-statd
 | 
						|
systemctl mask rpc-statd
 | 
						|
 | 
						|
systemctl disable rpcbind
 | 
						|
systemctl mask rpcbind
 | 
						|
 | 
						|
systemctl disable gssproxy
 | 
						|
systemctl mask gssproxy
 |