Skip to content
Snippets Groups Projects

udev: split wifi and bt rules into two separate files, add systemd unit file, and add BT mac retry

Merged Clayton Craft requested to merge craftyguy/split-udev into master
All threads resolved!
Files
3
#
#
# Configure the MAC addresses of the WLAN and Bluetooth interfaces when they appear.
# Copyright (c) Dylan Van Assche (2022)
# SPDX-License-Identifier: GPL-3.0-or-later
#
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan0", RUN+="/usr/bin/bootmac"
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci0", RUN+="/usr/bin/bootmac"
ACTION=="add", SUBSYSTEM=="bluetooth", KERNEL=="hci0", RUN+="/usr/bin/bootmac --bluetooth"
Loading