Skip to content
Snippets Groups Projects
Clayton Craft's avatar
Clayton Craft authored
This replaces 3bfb183f with a retry mechanism, where the BT and wlan
mac is (re)tried every 1 second for up to 5 seconds (configurable).

If this doesn't play nicely with udev rules when using RUN, then
BT_TIMEOUT and/or WLAN_TIMEOUT can be set in the env.
2d52c50b
History

bootmac

Bootmac configures the MAC addresses of WLAN and Bluetooth interfaces at boot. Bootmac can be invoked in various ways at boot, but currently only udev rules are tested. Bootmac generates MAC addresses from the serialno provided by Android bootloaders through /proc/cmdline or from /etc/machine-id with prefix 02:00.

License

GPLv3

Copyright (c) Dylan Van Assche (2022)