diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-03-16 11:53:06 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-03-16 11:53:06 +0000 |
commit | 4c68a5c6d06f5e4d372b7c92c67fcefb0d1103d7 (patch) | |
tree | d78a116ab4b044aa2f5fda1ca06f7d0f56899ca2 /target/linux/brcm63xx/base-files/lib/brcm63xx.sh | |
parent | 00f2dabeb04f61e14a1f8d0c23847029a03a020e (diff) | |
download | master-187ad058-4c68a5c6d06f5e4d372b7c92c67fcefb0d1103d7.tar.gz master-187ad058-4c68a5c6d06f5e4d372b7c92c67fcefb0d1103d7.tar.bz2 master-187ad058-4c68a5c6d06f5e4d372b7c92c67fcefb0d1103d7.zip |
brcm63xx: move preinit ifname detection to the preinit script
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44839 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/lib/brcm63xx.sh')
-rwxr-xr-x | target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 52e4f96fa1..058833963f 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -255,105 +255,6 @@ brcm63xx_detect() { board_name=$(brcm63xx_legacy_detect "$board_id") fi - case "$board_name" in - bcm963281tan) - ifname=eth0 - ;; - a4001n1) - ifname=eth0 - ;; - bcm96328avng) - ifname=eth0 - ;; - a4001n) - ifname="eth0" - ;; - ar-5381u) - ifname=eth0 - ;; - ar-5387un) - ifname=eth0 - ;; - bcm96348gw) - ifname=eth1 - ;; - bcm96348gw-11) - ifname=eth1 - ;; - spw303v) - ifname=eth0 - ;; - vr-3025un) - ifname="eth0" - ;; - vr-3025u) - ifname="eth0" - ;; - wap-5813n) - ifname="eth0" - ;; - dsl-274xb-c) - ifname=eth0 - ;; - dsl-275xb-d) - ifname=eth0 - ;; - cpva642) - ifname=eth0 - ;; - ct536_ct5621) - ifname=eth0 - ;; - cvg834g) - ifname=eth0 - ;; - dsl-2640b-b) - ifname=eth0 - ;; - dgnd3700v1_dgnd3800b) - ifname="eth0" - ;; - fast2504n) - ifname=eth0 - ;; - fast2704v2) - ifname=eth0 - ;; - gw6000) - ifname=eth1 - ;; - gw6200) - ifname=eth1 - ;; - hg553) - ifname=eth0 - ;; - hg556a_*) - ifname=eth0 - ;; - hg520) - ifname="eth0" - ;; - neufbox6) - ifname=eth0 - ;; - p870hw-51a_v2) - ifname="eth0" - ;; - rta770bw) - ifname=eth0 - ;; - rta770w) - ifname=eth0 - ;; - spw500v) - ifname=eth0 - ;; - v2110) - ifname=eth0 - ;; - esac - [ -e "/tmp/sysinfo" ] || mkdir -p "/tmp/sysinfo" echo "$board_name" > /tmp/sysinfo/board_name |