mirror of
https://abf.rosa.ru/djam/bluez.git
synced 2025-02-23 15:12:52 +00:00
24 lines
931 B
Diff
24 lines
931 B
Diff
![]() |
Subject: [PATCH]
|
||
|
From: Andrey Borzenkov <arvidjaar@gmail.com>
|
||
|
|
||
|
|
||
|
|
||
|
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
|
||
|
|
||
|
---
|
||
|
|
||
|
scripts/bluetooth.rules.in | 4 ++--
|
||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/scripts/bluetooth.rules.in b/scripts/bluetooth.rules.in
|
||
|
index 64df69d..f9733bc 100644
|
||
|
--- a/scripts/bluetooth.rules.in
|
||
|
+++ b/scripts/bluetooth.rules.in
|
||
|
@@ -1,4 +1,4 @@
|
||
|
# Run helper every time a Bluetooth device appears
|
||
|
# On remove actions, bluetoothd should go away by itself
|
||
|
-ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev"
|
||
|
-ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev"
|
||
|
+TEST{040000}!="/sys/fs/cgroup/systemd", ACTION=="add", SUBSYSTEM=="bluetooth", RUN{fail_event_on_error}+="@prefix@/sbin/bluetoothd --udev"
|
||
|
+TEST{040000}!="/sys/fs/cgroup/systemd", ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev"
|