Skip to content
Snippets Groups Projects
Clayton Craft's avatar
Clayton Craft authored
Being part of the bluetooth.target means that this service (if
enabled) is started automatically every time the bluetooth service is
(re)started.

WiFi was skipped since I've not found a reliable way to have
bootmac configure the mac, it's racing with the driver, NM, and
iwd/wpa_supplicant. The udev rule for wifi should just be dropped
altogether when packaging bootmac for a systemd OS since it's unreliable
and buggy.
3f675505
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)