mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 05:24:26 -04:00 
			
		
		
		
	fix failsafe, was accidentally broken by r18214. Thanks Daniel Gimpelevich
SVN-Revision: 18253
This commit is contained in:
		
							parent
							
								
									9be77f8669
								
							
						
					
					
						commit
						260aee67dc
					
				| @ -47,13 +47,13 @@ check_module () { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| check_module tg3 | check_module tg3 | ||||||
|  | failsafe_ip | ||||||
|  | 
 | ||||||
| insmod switch-core | insmod switch-core | ||||||
| check_module switch-robo || check_module switch-adm  || {  | check_module switch-robo || check_module switch-adm  || {  | ||||||
|   check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*" |   check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*" | ||||||
| } || rmmod switch-core | } || rmmod switch-core | ||||||
| 
 | 
 | ||||||
| failsafe_ip |  | ||||||
| 
 |  | ||||||
| [ -d /proc/switch/eth0 ] && { | [ -d /proc/switch/eth0 ] && { | ||||||
| 	echo 1 > /proc/switch/eth0/reset | 	echo 1 > /proc/switch/eth0/reset | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user