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

9 lines
315 B
Text
Raw Normal View History

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"