]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsactl: Remove asound.state file check from alsa-restore.service again
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Dec 2020 22:55:34 +0000 (23:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Dec 2020 22:55:34 +0000 (23:55 +0100)
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>
alsactl/alsa-restore.service.in

index a84c2e842444e75d06b5debf12608b822a8a4927..80fd5fd482037dcea7f31e3cc2fe7cab91dca898 100644 (file)
@@ -7,7 +7,6 @@
 Description=Save/Restore Sound Card State
 ConditionPathExists=!@daemonswitch@
 ConditionPathExistsGlob=/dev/snd/control*
-ConditionPathExists=@asoundrcfile@
 
 [Service]
 Type=oneshot