beep/90-pcspkr-beep.rules
Hans Ulrich Niedermann 9bbcce32d1 Update to beep-1.4.4 release
Summary of the changes in the beep-1.4.4 release:

  * ship our own modprobe.d and udev rules.d files

  * install udev rules into /usr/lib/udev/rules.d/
    (if the sysadmin want their own rules, they can
    add them to /etc/udev/rules.d/)

  * new out of the box permission setup: allow local
    users and "beep" group

  * add note on using sox/play with modern sound infrastructure

  * adapt beep(1) man page to mention README.fedora

  * set compiler flags for "make install" (just in case)

  * install extra source files directly from %{SOURCEn}

  * ship the installed doc files as %doc (no need to install
    them from source)
2019-04-02 20:15:29 +02:00

2 lines
222 B
Text

# Give write access to the PC speaker to the "beep" group so group members can run "beep"
ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m g:beep:w '$env{DEVNAME}'"