0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2025-09-12 07:49:41 +00:00
Files
openwrt/package/base-files/files/lib/functions/system.sh
David Bauer c3e252d080 base-files: add function for generating random MAC
This adds a function for generating a valid random MAC address (unset MC
bit / set locally administered bit).

It is necessary for devices which do not have a MAC address programmed
by the manufacturer.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-07-28 15:52:44 +02:00

4.2 KiB