From: Andy Boyett Date: Sun, 1 Nov 2009 01:09:56 +0000 (+0000) Subject: fix failsafe, was accidentally broken by r18214. Thanks Daniel Gimpelevich X-Git-Tag: reboot~22004 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=260aee67dc85367ce2eec79b2f4057f7fc15c16c;p=oweals%2Fopenwrt.git fix failsafe, was accidentally broken by r18214. Thanks Daniel Gimpelevich SVN-Revision: 18253 --- 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