mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-14 07:15:42 +01:00
c3a31afe14
It may be useful to have the file location configurable. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 lines
315 B
Text
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"
|