 6c4831339c
			
		
	
	
		6c4831339c
		
			
		
	
	
	
	
		
			
			Do not modify main /etc/NetworkManager/NetworkManager.conf as it would cause conflicts during updates. Use /etc/NetworkManager/conf.d/30-qubes.conf instead. Also remove some dead code for dynamically generated parts (no longer required to "blacklist" eth0 in VMs - we have proper connection generated for it). It was commented out for some time already Fixes QubesOS/qubes-issues#1176
		
			
				
	
	
		
			12 lines
		
	
	
		
			337 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			337 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| NM_CONFIG_DIR=/etc/NetworkManager/system-connections
 | |
| if [ -d $NM_CONFIG_DIR -a ! -h $NM_CONFIG_DIR ]; then
 | |
|     mkdir -p /rw/config/NM-system-connections
 | |
|     mv $NM_CONFIG_DIR/* /rw/config/NM-system-connections/ 2> /dev/null || true
 | |
|     rmdir $NM_CONFIG_DIR
 | |
|     ln -s /rw/config/NM-system-connections $NM_CONFIG_DIR
 | |
| fi
 | |
| 
 | |
| exit 0
 |