05_init_interfaces_brcm63xx 660 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/bin/sh
  2. . /lib/brcm63xx.sh
  3. set_preinit_iface() {
  4. case "$(brcm63xx_board_name)" in
  5. a4001n |\
  6. a4001n1 |\
  7. ar-5381u |\
  8. ar-5387un |\
  9. bcm963281tan |\
  10. bcm96328avng |\
  11. cpva642 |\
  12. ct536_ct5621 |\
  13. cvg834g |\
  14. dgnd3700v1_dgnd3800b |\
  15. dsl-2640b-b |\
  16. dsl-274xb-c |\
  17. dsl-274xb-f |\
  18. dsl-275xb-d |\
  19. fast2504n |\
  20. fast2704v2 |\
  21. hg553 |\
  22. hg556a_* |\
  23. hg520 |\
  24. hg622 |\
  25. neufbox6 |\
  26. p870hw-51a_v2 |\
  27. rta770bw |\
  28. rta770w |\
  29. spw303v |\
  30. spw500v |\
  31. v2110 |\
  32. vr-3025un |\
  33. vr-3025u |\
  34. vr-3026e |\
  35. wap-5813n)
  36. ifname=eth0
  37. ;;
  38. bcm96348gw |\
  39. bcm96348gw-11 |\
  40. gw6000 |\
  41. gw6200)
  42. ifname=eth1
  43. ;;
  44. esac
  45. }
  46. boot_hook_add preinit_main set_preinit_iface