 ad75f3c99e
			
		
	
	
		ad75f3c99e
		
	
	
	
	
		
			
			In FC15, NetworkManager by default uses global connections ("Available to all users"). Save them in /rw instead of /etc, to preserve them across reboots.
		
	
			
		
			
				
	
	
		
			11 rindas
		
	
	
		
			357 B
		
	
	
	
		
			Bash
		
	
	
		
			Izpildāmais fails
		
	
	
	
	
			
		
		
	
	
			11 rindas
		
	
	
		
			357 B
		
	
	
	
		
			Bash
		
	
	
		
			Izpildāmais fails
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| if [ -d /etc/NetworkManager/system-connections ]; then
 | |
|     mkdir -p /rw/config/NM-system-connections
 | |
|     mv /etc/NetworkManager/system-connections/* /rw/config/NM-system-connections/ 2> /dev/null || true
 | |
|     rmdir /etc/NetworkManager/system-connections
 | |
|     ln -s /rw/config/NM-system-connections /etc/NetworkManager/system-connections
 | |
| fi
 | |
| 
 | |
| exit 0
 |