projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be77f8
)
fix failsafe, was accidentally broken by r18214. Thanks Daniel Gimpelevich
author
Andy Boyett
<agb@openwrt.org>
Sun, 1 Nov 2009 01:09:56 +0000
(
01:09
+0000)
committer
Andy Boyett
<agb@openwrt.org>
Sun, 1 Nov 2009 01:09:56 +0000
(
01:09
+0000)
SVN-Revision: 18253
target/linux/brcm-2.4/base-files/etc/preinit.arch
patch
|
blob
|
history
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 a90d314e256ec13743506e45b2d750780ecaf711..e62360e44c9aa8e898db8fbf6043210f6bfc0c25 100755
(executable)
--- 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