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 | 2aa445dfe9f8fa97b4c771a0c7ad86da30ccb391 (patch) | |
tree | e848125d95fbfc07e9730c236065abca2259ee62 /target/linux/brcm-2.4 | |
parent | 11ba818b747e12d39be509a4026540832632817d (diff) | |
download | upstream-2aa445dfe9f8fa97b4c771a0c7ad86da30ccb391.tar.gz upstream-2aa445dfe9f8fa97b4c771a0c7ad86da30ccb391.tar.bz2 upstream-2aa445dfe9f8fa97b4c771a0c7ad86da30ccb391.zip |
fix brcm-2.4/brcm47xx failsafe init (thx, puchu)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19365 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4')
-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 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 |