mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 01:06:30 +01:00
3a7c1c59ec
Use the "mydatadir" name consistently. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
8 lines
369 B
Text
8 lines
369 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 $attr{device/number}"
|
|
TEST=="@daemonswitch@", RUN+="@sbindir@/alsactl nrestore $attr{device/number}"
|
|
|
|
LABEL="alsa_restore_end"
|