summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-12-02 13:15:44 +0100
committerBastien Nocera <hadess@hadess.net>2021-12-02 13:15:44 +0100
commit60fc1ce18398cd8aaf1e06aa194dd0bfe938b257 (patch)
tree49d87b5aeeaa4e96b89b68608a6a6f195da15c63
parenta21e88d476d0ceab7f5ba4df29cf2ffa16702017 (diff)
downloadsystemd-wip/hadess/rfkill-uaccess.tar.gz
hwdb: Allow console users access to rfkillwip/hadess/rfkill-uaccess
This rule has been shipped in Fedora's gnome-bluetooth package for 10 years and is used by the gnome-settings-daemon rfkill plugin (used by gnome-bluetooth, gnome-shell, and gnome-control-center) to monitor and change software rfkill switch settings.
-rw-r--r--src/login/70-uaccess.rules.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/70-uaccess.rules.in b/src/login/70-uaccess.rules.in
index 2e29846e11..052194b6c9 100644
--- a/src/login/70-uaccess.rules.in
+++ b/src/login/70-uaccess.rules.in
@@ -84,4 +84,7 @@ ENV{ID_MAKER_TOOL}=="?*", TAG+="uaccess"
# Protocol analyzers
ENV{ID_SIGNAL_ANALYZER}=="?*", ENV{DEVTYPE}=="usb_device", TAG+="uaccess"
+# rfkill / radio killswitches
+KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess"
+
LABEL="uaccess_end"