mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-14 04:45:42 +01:00
b5591747fd
Fixes: https://github.com/alsa-project/alsa-utils/issues/244 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 lines
345 B
Text
8 lines
345 B
Text
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", TEST=="@sbindir@", TEST=="@mydatadir@", GOTO="alsa_restore_go"
|
|
GOTO="alsa_restore_end"
|
|
|
|
LABEL="alsa_restore_go"
|
|
TEST!="@daemonswitch@", RUN+="@sbindir@/alsactl restore $devnode"
|
|
TEST=="@daemonswitch@", RUN+="@sbindir@/alsactl nrestore $devnode"
|
|
|
|
LABEL="alsa_restore_end"
|