alsa-utils/alsactl/90-alsa-restore.rules.in
Jaroslav Kysela c3a31afe14 alsactl: add --with-alsactl-daemonswitch=FILE to the global configure.in
It may be useful to have the file location configurable.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2013-04-10 11:08:47 +02:00

8 lines
315 B
Text

ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", GOTO="alsa_restore_go"
GOTO="alsa_restore_end"
LABEL="alsa_restore_go"
TEST!="@daemonswitch@", RUN+="@sbindir@/alsactl restore $attr{number}"
TEST=="@daemonswitch@", RUN+="@sbindir@/alsactl nrestore $attr{number}"
LABEL="alsa_restore_end"