Skip to content

Commit

Permalink
alsactl: Remove asound.state file check from alsa-restore.service again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tiwai committed Dec 11, 2020
1 parent c53f7cd commit 12487b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alsactl/alsa-restore.service.in
Expand Up @@ -7,7 +7,6 @@
Description=Save/Restore Sound Card State
ConditionPathExists=!@daemonswitch@
ConditionPathExistsGlob=/dev/snd/control*
ConditionPathExists=@asoundrcfile@

[Service]
Type=oneshot
Expand Down

0 comments on commit 12487b4

Please sign in to comment.