Skip to contentSkip to conversation

alsactl: Remove asound.state file check from alsa-restore.service again

PATCH New Takashi Iwai 1 participant 1 message Dec 11, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 alsactl/alsa-restore.service.in | 1 -
 1 file changed, 1 deletion(-)
alsactl/alsa-restore.service.in +0 -1
index a84c2e842444..80fd5fd48203 100644
@@ -7,7 +7,6 @@
 Description=Save/Restore Sound Card State
 ConditionPathExists=!@daemonswitch@
 ConditionPathExistsGlob=/dev/snd/control*
-ConditionPathExists=@asoundrcfile@
 
 [Service]
 Type=oneshot
Signature · 1 line
2.26.2