Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #538

Category None
Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
Changed at Thu 19 Sep 2019 21:43:27
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision 0340718863040919ecaba74b2173ed52ebc194ce


base-files: add function to retrieve label MAC address
To refer to the MAC address on a device's label, one can
specify the alias label-mac-device in the DTS which should
point to the bearer of the corresponding MAC address.

With the function get_mac_label, the user can retrieve then
retrieve this address and use it as a value that uniquely
identifies his device.

This is severely helpful for several downstream functionalities,
e.g. define MAC addresses of custom netifs or change the SSID to
be easily recognizable.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Changed files