Skip to content
Snippets Groups Projects
Verified Commit 68f1f88d authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

udev: split wifi and bt rules into two separate files

The udev rule for bluetooth doesn't work on systemd[1], by splitting the
rule into two separate rules, distros can leave this bluetooth rule out
when packaging for systemd.

Distros packaging bootmac will have to make note of the new rule
files/names.

1. https://github.com/systemd/systemd/issues/35003
parent 3bfb183f
No related branches found
No related tags found
No related merge requests found
......@@ -4,5 +4,4 @@
# 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"
#
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment