Skip to content
Snippets Groups Projects
  1. Jan 23, 2025
    • Clayton Craft's avatar
      Support logging to stdout for running under systemd · f699dbac
      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`.)
    • Clayton Craft's avatar
      Add retry mechnism for setting BT and wlan MAC addr · cc0d219b
      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.
      Verified
      cc0d219b
    • Clayton Craft's avatar
      Add systemd unit file for bluetooth · 3f675505
      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.
      Verified
      3f675505
  2. Jan 15, 2025
  3. Jul 18, 2024
  4. Jan 23, 2024
  5. Jan 22, 2024
  6. Jan 13, 2024
  7. Jan 10, 2024
  8. Dec 27, 2023
  9. Sep 22, 2023
  10. Aug 16, 2022
  11. Aug 15, 2022
Loading