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 .
7
Description=Restore Sound Card State
8
ConditionPathExists=!/var/lib/alsa/state-daemon.conf
9
ConditionPathExists=/var/lib/alsa/asound.state
10
DefaultDependencies=no
11
After=alsa-state.service
12
Before=shutdown.target
13
Conflicts=shutdown.target
17
ExecStart=-/usr/sbin/alsactl -E HOME=/var/run/alsa restore