brcm63xx: switch to board based failsafe networking

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
master
Jonas Gorski 8 years ago
parent 6c9588ddf5
commit cf8da98e94
  1. 37
      target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx

@ -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
Loading…
Cancel
Save