mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	fix brcm-2.4/brcm47xx failsafe init (thx, puchu)
SVN-Revision: 19365
This commit is contained in:
		
							parent
							
								
									b774acb479
								
							
						
					
					
						commit
						40b531f5d2
					
				@ -13,6 +13,7 @@ set_preinit_iface() {
 | 
			
		||||
		"ASUS (unknown, BCM4702)") ifname=eth1;;
 | 
			
		||||
		"Sitecom WL-105b") ifname=eth1;;
 | 
			
		||||
	esac
 | 
			
		||||
	ifconfig $ifname 0.0.0.0 up
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
check_module () {
 | 
			
		||||
@ -32,7 +33,5 @@ init_iface() {
 | 
			
		||||
	} || rmmod switch-core
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
boot_hook_add preinit_main init_iface
 | 
			
		||||
boot_hook_add preinit_main set_preinit_iface
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
boot_hook_add preinit_main init_iface
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user