2020-02-14 11:02:48 +08:00
|
|
|
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", GOTO="alsa_restore_go"
|
|
|
|
|
GOTO="alsa_restore_end"
|
|
|
|
|
|
|
|
|
|
LABEL="alsa_restore_go"
|
2020-04-30 10:51:53 +08:00
|
|
|
TEST!="/etc/alsa/state-daemon.conf", RUN+="/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore /dev/$name"
|
|
|
|
|
TEST=="/etc/alsa/state-daemon.conf", RUN+="/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main nrestore /dev/$name"
|
2020-02-14 11:02:48 +08:00
|
|
|
|
|
|
|
|
LABEL="alsa_restore_end"
|