mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
[brcm-2.4] fix failsafe, was accidentally broken by r18214. Thanks Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18253 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f622ac94c8
commit
100ec06353
@ -47,13 +47,13 @@ check_module () {
|
||||
}
|
||||
|
||||
check_module tg3
|
||||
failsafe_ip
|
||||
|
||||
insmod switch-core
|
||||
check_module switch-robo || check_module switch-adm || {
|
||||
check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*"
|
||||
} || rmmod switch-core
|
||||
|
||||
failsafe_ip
|
||||
|
||||
[ -d /proc/switch/eth0 ] && {
|
||||
echo 1 > /proc/switch/eth0/reset
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user