2013-04-12 09:19:29 +00:00
|
|
|
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", GOTO="alsa_restore_go"
|
2013-04-15 13:02:53 +00:00
|
|
|
GOTO="alsa_restore_end"
|
2013-04-12 09:19:29 +00:00
|
|
|
|
|
|
|
LABEL="alsa_restore_go"
|
|
|
|
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"
|
|
|
|
|
|
|
|
LABEL="alsa_restore_end"
|