brcm63xx: switch to board based failsafe networking

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
This commit is contained in:
Jonas Gorski 2016-08-13 13:53:06 +02:00
parent 6c9588ddf5
commit cf8da98e94

View file

@ -1,37 +0,0 @@
#!/bin/sh
. /lib/brcm63xx.sh
set_preinit_iface() {
case "$(brcm63xx_board_name)" in
agpf-s0 |\
bcm96348gw |\
bcm96348gw-10 |\
bcm96348gw-11 |\
bcm96358vw |\
bcm96358vw2 |\
cpva502p |\
dg834gt |\
dmv-s0 |\
dsl-2650u |\
dv-201amr |\
dva-g3810bn |\
f5d7633 |\
fast2404 |\
hg520 |\
magic |\
neufbox4 |\
rg100a |\
rta1025W |\
td-w8900gb |\
usr9108 |\
v2500v_bb)
ifname=eth1
;;
*)
ifname=eth0
;;
esac
}
boot_hook_add preinit_main set_preinit_iface