summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-11-03 14:14:40 -0300
committerDavid P <megver83@parabola.nu>2020-11-05 19:58:07 -0300
commit6ce377c73ecb7d5e62a7546132b7ab70d771f5d2 (patch)
tree0d09d0328f2f716d0204893d780171cc36bea705 /configs/releng/airootfs/etc/systemd
parentcd1f2f1951ee54554169c9bf38e41692c6286c22 (diff)
sync with archiso v49v49
Imported changes: cc169d7 (HEAD -> master, origin/master, origin/HEAD) configs/releng/packages.x86_64: add fatresize, gpart and tmux 40ae3ba (tag: v49) Set syslinux bootloader timeout to 15s ee6c5fa Set bootloader timeouts to 15s 9f16862 Configure the image type and image creation options using profiles (#54) e369ade fix a typo, add myself in AUTHORS.rst e748a77 Add accessibility support based on option flag 8bb3e8c Fix linter errors in livecd-sound 6a39300 implement accessibility support in archiso 6820f2c Add modconf to HOOKS array in mkinitcpio.conf 3caa30f configs/releng/packages.x86_64: add squashfs-tools and udftools 1bd944e Remove build.sh support from profiles and mkarchiso bff3676 (origin/issues/38) Add documentation about how to create profiles Extra changes: * remove talkingparabola profile, it's no longer required TODO: * add braille support in OpenRC profiles Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/releng/airootfs/etc/systemd')
-rw-r--r--configs/releng/airootfs/etc/systemd/system/livecd-alsa-unmuter.service16
-rw-r--r--configs/releng/airootfs/etc/systemd/system/livecd-talk.service23
l---------configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service1
l---------configs/releng/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service1
4 files changed, 41 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
diff --git a/configs/releng/airootfs/etc/systemd/system/livecd-talk.service b/configs/releng/airootfs/etc/systemd/system/livecd-talk.service
new file mode 100644
index 0000000..d959ab3
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/system/livecd-talk.service
@@ -0,0 +1,23 @@
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+[Unit]
+Description=Screen reader service
+After=livecd-alsa-unmuter.service
+Before=getty@tty1.service
+ConditionKernelCommandLine=accessibility=on
+
+[Service]
+Type=oneshot
+TTYPath=/dev/tty13
+ExecStartPre=/usr/bin/chvt 13
+ExecStart=/usr/local/bin/livecd-sound -p
+ExecStartPost=/usr/bin/chvt 1
+ExecStartPost=systemctl start espeakup.service
+StandardInput=tty
+TTYVHangup=yes
+TTYVTDisallocate=yes
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target
diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service
new file mode 120000
index 0000000..b917481
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service
@@ -0,0 +1 @@
+/etc/systemd/system/livecd-talk.service \ No newline at end of file
diff --git a/configs/releng/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service
new file mode 120000
index 0000000..98c0fc8
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service
@@ -0,0 +1 @@
+../livecd-alsa-unmuter.service \ No newline at end of file