aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules
diff options
context:
space:
mode:
Diffstat (limited to 'main/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules')
-rw-r--r--main/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules b/main/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules
new file mode 100644
index 0000000000..a76c1e73cf
--- /dev/null
+++ b/main/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"