Skip to content
Snippets Groups Projects
  • Clayton Craft's avatar
    3e1d43b6
    add systemd unit file · 3e1d43b6
    Clayton Craft authored
    This can be used to start bootmac reliably (in my limited testing), the
    1 second delay seems to be enough for the hw to be ready for setting the
    mac addr. There are probably better ways to do this.
    
    Being part of the bluetooth.target means that this service (if
    enabled) is started automatically every time the bluetooth service is
    (re)started. It's functionally the same as starting bootmac via udev,
    except we can easily add delays in this unit file (while delaying udev
    rule execution is... dice-y)
    Verified
    3e1d43b6
    History
    add systemd unit file
    Clayton Craft authored
    This can be used to start bootmac reliably (in my limited testing), the
    1 second delay seems to be enough for the hw to be ready for setting the
    mac addr. There are probably better ways to do this.
    
    Being part of the bluetooth.target means that this service (if
    enabled) is started automatically every time the bluetooth service is
    (re)started. It's functionally the same as starting bootmac via udev,
    except we can easily add delays in this unit file (while delaying udev
    rule execution is... dice-y)