summaryrefslogtreecommitdiffstats
path: root/alsa-utils/alsa.rules
blob: ec19459f303e0f557392820fe87614083e727271 (plain)
1
2
3
4
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", \
  RUN+="/usr/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore /dev/$name"
ACTION=="remove", SUBSYSTEM=="sound", KERNEL=="controlC*", \
  RUN+="/usr/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store /dev/$name"