network config: ignore nonexistant interfaces
SVN-Revision: 6819
This commit is contained in:
		@@ -84,6 +84,7 @@ prepare_interface() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	# Setup VLAN interfaces
 | 
						# Setup VLAN interfaces
 | 
				
			||||||
	add_vlan "$iface"
 | 
						add_vlan "$iface"
 | 
				
			||||||
 | 
						ifconfig "$iface" 2>/dev/null >/dev/null || return 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Setup bridging
 | 
						# Setup bridging
 | 
				
			||||||
	config_get iftype "$config" type
 | 
						config_get iftype "$config" type
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user