diff options
author | Andy Boyett <agb@openwrt.org> | 2009-11-01 01:09:56 +0000 |
---|---|---|
committer | Andy Boyett <agb@openwrt.org> | 2009-11-01 01:09:56 +0000 |
commit | 1cef2e5054cb75d4e46f97797b28d4cb5fcd3810 (patch) | |
tree | e7757847c7fec7bbcf969117c76607fe659b8965 /target/linux/brcm-2.4/base-files/etc | |
parent | 74d2398db58313bfa2e99658f2988847d87c56d2 (diff) | |
download | upstream-1cef2e5054cb75d4e46f97797b28d4cb5fcd3810.tar.gz upstream-1cef2e5054cb75d4e46f97797b28d4cb5fcd3810.tar.bz2 upstream-1cef2e5054cb75d4e46f97797b28d4cb5fcd3810.zip |
[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
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/preinit.arch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/preinit.arch b/target/linux/brcm-2.4/base-files/etc/preinit.arch index a90d314e25..e62360e44c 100755 --- a/target/linux/brcm-2.4/base-files/etc/preinit.arch +++ b/target/linux/brcm-2.4/base-files/etc/preinit.arch @@ -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 |