Skip to content
Snippets Groups Projects
Clayton Craft's avatar
Clayton Craft authored
If bootmac is running under systemd, sending output to `logger` usually
means that the output is not sent to journald, and is lost. This can
make debug more difficult. The var tested here is one that systemd sets
when running a daemon (see `man systemd.exec`.)
f699dbac
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)