mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	add a check for brctl in the unbridge() function (fixes #1417)
SVN-Revision: 6410
This commit is contained in:
		
							parent
							
								
									90a57bbefb
								
							
						
					
					
						commit
						c1ab24d04a
					
				| @ -195,7 +195,8 @@ setup_interface() { | ||||
| unbridge() { | ||||
| 	local dev="$1" | ||||
| 	local brdev | ||||
| 
 | ||||
| 	 | ||||
| 	[ -x /usr/sbin/brctl ] || return 0 | ||||
| 	brctl show | grep "$dev" >/dev/null && { | ||||
| 		# interface is still part of a bridge, correct that | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user