diff options
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index bd51f3638e..1fc0ccdd5b 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -38,6 +38,7 @@ ramips_setup_interfaces() ucidef_set_interfaces_lan_wan "lan" "wan" ;; asiarf,ap7621-nv1|\ + beeline,smartbox-flash|\ glinet,gl-mt1300|\ iptime,a3002mesh|\ jcg,q20|\ @@ -115,6 +116,11 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_ascii u-boot-env et1macaddr) label_mac=$(mtd_get_mac_binary factory 0x4) ;; + beeline,smartbox-flash) + lan_mac=$(mtd_get_mac_ascii u-boot-env eth2macaddr) + wan_mac=$(mtd_get_mac_ascii u-boot-env eth3macaddr) + label_mac=$lan_mac + ;; buffalo,wsr-1166dhp) local index="$(find_mtd_index "board_data")" wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)" |