X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/70916d05defae02ed83ba6af2d1e2ba03e062525..0bc848a5da9a8b1cbb5e2760eaec0dedaa70c713:/target/linux/brcm-2.4/base-files/etc/preinit.arch?ds=sidebyside 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 a90d314e2..e62360e44 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