mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-01 12:22:23 +00:00
ramips: update MAC address configuration for Buffalo WCR-1166DS
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>
This commit is contained in:
parent
621d88d741
commit
770cfe9bff
@ -177,9 +177,9 @@ ramips_setup_macs()
|
|||||||
|
|
||||||
case $board in
|
case $board in
|
||||||
buffalo,wcr-1166ds)
|
buffalo,wcr-1166ds)
|
||||||
local index="$(find_mtd_index "board_data")"
|
wan_mac=$(mtd_get_mac_ascii board_data "mac")
|
||||||
wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)"
|
|
||||||
lan_mac=$wan_mac
|
lan_mac=$wan_mac
|
||||||
|
label_mac=$wan_mac
|
||||||
;;
|
;;
|
||||||
cudy,wr1000|\
|
cudy,wr1000|\
|
||||||
hilink,hlk-7628n|\
|
hilink,hlk-7628n|\
|
||||||
|
Loading…
Reference in New Issue
Block a user