Blame alsactl/90-alsa-restore.rules.in

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