1
0
Fork 0
android_external_alsa-utils/alsactl/alsa-restore.service.in
dvab-sarma d2fc7afa59
Some checks failed
Build alsa-utils / fedora_latest_build (push) Has been cancelled
Build alsa-utils / ubuntu_last_build (push) Has been cancelled
android-16.0
2025-06-26 23:48:13 -05:00

15 lines
399 B
SYSTEMD

#
# Note that two different ALSA card state management schemes exist and they
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
#
[Unit]
Description=Save/Restore Sound Card State
ConditionPathExists=!@daemonswitch@
ConditionPathExistsGlob=/dev/snd/control*
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=-@sbindir@/alsactl restore
ExecStop=-@sbindir@/alsactl store