Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
diff options
context:
space:
mode:
authorAlexander Epaneshnikov <aarnaarn2@gmail.com>2020-10-03 22:32:05 +0300
committerAlexander Epaneshnikov <aarnaarn2@gmail.com>2020-10-29 12:30:37 +0000
commit6a39300b0f0a08574038bad4537a27bb614a841d (patch)
tree1fb090ee534f85703d8b3e03b9102cc463f18039 /configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
parent6820f2cb69f214a1e10c95f42d0c44bce2cc8fc4 (diff)
implement accessibility support in archiso
this fixes #67
Diffstat (limited to 'configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service')
-rw-r--r--configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
new file mode 100644
index 0000000..8c5317d
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service
@@ -0,0 +1,16 @@
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+[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