mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 11:56:57 +01:00
alsactl: Remove asound.state file check from alsa-restore.service again
We added the check of asound.state file presence some time ago to assure that alsactl gets called only if the state file is already present. Since then, the situation has changed significantly: e.g. now alsactl does initialize if the state file isn't present, and the same alsa-restore.service is used to save the state. This means that we should start this service no matter the state file exists at the boot time or not. So, revert the old change again. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c53f7cd038
commit
12487b40b6
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
Description=Save/Restore Sound Card State
|
Description=Save/Restore Sound Card State
|
||||||
ConditionPathExists=!@daemonswitch@
|
ConditionPathExists=!@daemonswitch@
|
||||||
ConditionPathExistsGlob=/dev/snd/control*
|
ConditionPathExistsGlob=/dev/snd/control*
|
||||||
ConditionPathExists=@asoundrcfile@
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
Loading…
Reference in a new issue