mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-11-04 11:27:38 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			288 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			288 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# This script should resolve SELINUX warnings about NetworkManager not
 | 
						|
# permitted to unlink files.
 | 
						|
 | 
						|
set -x
 | 
						|
find /var/lib/iwd/*.{psk,open} -exec semanage fcontext -a -t NetworkManager_etc_rw_t '{}' \;
 | 
						|
find /var/lib/iwd/*.{psk,open} -exec restorecon -v '{}' \;
 | 
						|
set +x
 |