aboutsummaryrefslogtreecommitdiff
path: root/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-11-05 22:52:53 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-11-05 22:52:53 -0400
commit8a86b310630fab17256339fa18f26d8d5c190199 (patch)
tree418f07e13f90bbc84f57e628b2caf147bf729170 /airootfs/etc/systemd/system/livecd-alsa-unmuter.service
downloadalee-boot-utility-8a86b310630fab17256339fa18f26d8d5c190199.tar.gz
alee-boot-utility-8a86b310630fab17256339fa18f26d8d5c190199.tar.bz2
alee-boot-utility-8a86b310630fab17256339fa18f26d8d5c190199.zip
Inital commit
Diffstat (limited to 'airootfs/etc/systemd/system/livecd-alsa-unmuter.service')
-rw-r--r--airootfs/etc/systemd/system/livecd-alsa-unmuter.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
new file mode 100644
index 0000000..03db4b9
--- /dev/null
+++ b/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
@@ -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