1# 2# Note that two different ALSA card state management schemes exist and they 3# can be switched using a file exist check - /etc/alsa/state-daemon.conf . 4# 5 6[Unit] 7Description=Save/Restore Sound Card State 8ConditionPathExists=!@daemonswitch@ 9ConditionPathExistsGlob=/dev/snd/control* 10 11[Service] 12Type=oneshot 13RemainAfterExit=true 14ExecStart=-@sbindir@/alsactl restore 15ExecStop=-@sbindir@/alsactl store 16