Retain vendor MAC address at power up
There are circumstances where it is desirable to be able to read the vendor's MAC addresses on an interface, even if the user has specified another address for spoofing.
The interface vendor MAC addresses should be stored at boot time in such a way that they can be accessed from user space.
Prefer they be stored in /var/db directory along with some of the other network stuff. Also friendlier for write cycle sensitive media to store in RAM disk since they do not need to survive a reboot.
Also saving to a single file means only having to do one write at bootup. Along with the logic to only use when not booting means the files don't need to be opened during booting.
See PR for additional details.
Vendor MAC Retention, Restore Logic, Consolidate