Skip to content
Snippets Groups Projects

Add separate udev rules for systemd installs, rework service

Open Arnaud Ferraris requested to merge a-wai/bootmac:master into master
4 files
+ 75
11
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 8
0
#
# 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=="bluetooth", KERNEL=="hci0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="bootmac@bluetooth.service"
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="bootmac@wlan.service"
Loading