ISO/configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules

3 lines
190 B
Plaintext
Raw Normal View History

2022-03-29 17:24:16 +02:00
# 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}'"