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