mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 10:57:47 +00:00
ipq807x: fix mac address assignment
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mac=$(cat /etc/board.json | jsonfilter -e '@["network-device"]["'$DEVICENAME'"]'.macaddr)
|
mac=$(cat /etc/board.json | jsonfilter -e '@["network_device"]["'$DEVICENAME'"]'.macaddr)
|
||||||
[ -n "$mac" ] && ip link set $DEVICENAME address $mac
|
[ -n "$mac" ] && ip link set $DEVICENAME address $mac
|
||||||
|
|||||||
Reference in New Issue
Block a user