diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-28 19:27:39 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-01-28 19:27:39 +0000 |
commit | 40b531f5d214748a9d0c1c5811f82c7dc18a093b (patch) | |
tree | d29ec7af46d2f3ddc08eb702c08b12586d75095f /target | |
parent | b774acb47912329bbe0942c6e078ee6d6132c30b (diff) | |
download | mtk-20170518-40b531f5d214748a9d0c1c5811f82c7dc18a093b.zip mtk-20170518-40b531f5d214748a9d0c1c5811f82c7dc18a093b.tar.gz mtk-20170518-40b531f5d214748a9d0c1c5811f82c7dc18a093b.tar.bz2 |
fix brcm-2.4/brcm47xx failsafe init (thx, puchu)
SVN-Revision: 19365
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm | 5 |
1 files changed, 2 insertions, 3 deletions
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 81cf1f1..3cd760e 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 |