mirror of
				https://github.com/libretro/Lakka-LibreELEC.git
				synced 2025-10-31 03:48:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			141 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			141 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| if [ "$NAME" == "$NODE" ]; then
 | |
|   ip addr replace "$SUBNET" dev "$INTERFACE"
 | |
| else
 | |
|   ip route replace "$SUBNET" dev "$INTERFACE"
 | |
| fi
 |