summaryrefslogtreecommitdiffstats
path: root/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-bluetooth/61-gnome-bluetooth-rfkill.rules')
-rw-r--r--gnome-bluetooth/61-gnome-bluetooth-rfkill.rules11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules b/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules
new file mode 100644
index 0000000..a76c1e7
--- /dev/null
+++ b/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules
@@ -0,0 +1,11 @@
+# Get access to /dev/rfkill for users
+# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
+#
+# Updated for udev >= 154
+# http://bugs.debian.org/582188
+# https://bugzilla.redhat.com/show_bug.cgi?id=588660
+
+ENV{ACL_MANAGE}=="0", GOTO="gnome_bluetooth_end"
+ACTION!="add|change", GOTO="gnome_bluetooth_end"
+KERNEL=="rfkill", TAG+="udev-acl"
+LABEL="gnome_bluetooth_end"