From: Felix Fietkau Date: Thu, 28 Jan 2010 19:27:39 +0000 (+0000) Subject: fix brcm-2.4/brcm47xx failsafe init (thx, puchu) X-Git-Tag: reboot~21260 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40b531f5d214748a9d0c1c5811f82c7dc18a093b;p=openwrt%2Fstaging%2Flynxis.git fix brcm-2.4/brcm47xx failsafe init (thx, puchu) SVN-Revision: 19365 --- diff --git a/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm b/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm index 81cf1f1380..3cd760e2db 100644 --- a/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm +++ b/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm @@ -13,6 +13,7 @@ set_preinit_iface() { "ASUS (unknown, BCM4702)") ifname=eth1;; "Sitecom WL-105b") ifname=eth1;; esac + ifconfig $ifname 0.0.0.0 up } check_module () { @@ -32,7 +33,5 @@ init_iface() { } || rmmod switch-core } -boot_hook_add preinit_main init_iface boot_hook_add preinit_main set_preinit_iface - - +boot_hook_add preinit_main init_iface