Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/udev/rules.d
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-03-31 19:49:30 +0300
committernl6720 <nl6720@gmail.com>2022-03-31 19:49:30 +0300
commitb5011af3f4ac63214fdecef442550cce5ae4a971 (patch)
tree85bdd594a46546f2426ed8ce0fbadd26089b9e23 /configs/releng/airootfs/etc/udev/rules.d
parent07d8035624cff64e28f1148ddec9e970e26173da (diff)
parentcec14d8b50f55fd077550f57988de41b0e1b4d63 (diff)
Merge remote-tracking branch 'origin/merge-requests/239'
* origin/merge-requests/239: add needed files See merge request !239
Diffstat (limited to 'configs/releng/airootfs/etc/udev/rules.d')
-rw-r--r--configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules b/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules
new file mode 100644
index 0000000..12a3a61
--- /dev/null
+++ b/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules
@@ -0,0 +1,2 @@
+# Add write access to the PC speaker for the "beep" group
+ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m u:beep:w '$env{DEVNAME}'"