Add: enable sound cards on start
This commit is contained in:
parent
a822d2d468
commit
888a0a3bd2
3 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Unmute All Sound Card Controls For Use With The Live Arch Environment
|
||||||
|
# This needs to run after the audio device becomes available.
|
||||||
|
Wants=systemd-udev-settle.service
|
||||||
|
After=systemd-udev-settle.service sound.target
|
||||||
|
ConditionKernelCommandLine=accessibility=on
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/local/bin/livecd-sound -u
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sound.target
|
|
@ -0,0 +1 @@
|
||||||
|
../livecd-alsa-unmuter.service
|
|
@ -0,0 +1,3 @@
|
||||||
|
Defaults node
|
||||||
|
defaults.ctl.card %card%;
|
||||||
|
defaults.pcm.card %card%;
|
Loading…
Reference in a new issue