]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Allow console users access to rfkill
authorBastien Nocera <hadess@hadess.net>
Thu, 2 Dec 2021 12:15:44 +0000 (13:15 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 6 Dec 2021 10:26:29 +0000 (11:26 +0100)
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.

src/login/70-uaccess.rules.in

index 2e29846e113518a10cafe04d5c6e7480d89799c0..052194b6c935bbba23f152b74f374628e5f32001 100644 (file)
@@ -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"