Skip to content

Commit

Permalink
ramips: update MAC address configuration for Buffalo WCR-1166DS
Browse files Browse the repository at this point in the history
This patch converts MAC address configuration of Buffalo WCR-1166DS in
02_network to use the generic function of OpenWrt. And also, add
label_mac.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
  • Loading branch information
musashino205 authored and hauke committed Mar 6, 2022
1 parent 621d88d commit 770cfe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
Expand Up @@ -177,9 +177,9 @@ ramips_setup_macs()

case $board in
buffalo,wcr-1166ds)
local index="$(find_mtd_index "board_data")"
wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)"
wan_mac=$(mtd_get_mac_ascii board_data "mac")
lan_mac=$wan_mac
label_mac=$wan_mac
;;
cudy,wr1000|\
hilink,hlk-7628n|\
Expand Down

0 comments on commit 770cfe9

Please sign in to comment.