Commit 947531e0 authored by Alexander Epaneshnikov's avatar Alexander Epaneshnikov
Browse files

implement screen reader start logic

when the kernel command line contains an "speakup.synth=soft" entry talk-to-me
service will be started.
parent 8bcea215
/etc/systemd/system/livecd-talk.service
\ No newline at end of file
/etc/systemd/system/livecd-talk.service
\ No newline at end of file
#
# SPDX-License-Identifier: GPL-3.0-or-later
[Unit]
Description=screen reader service
Wants=livecd-alsa-unmuter.service
Before=getty@tty1.service
ConditionKernelCommandLine=speakup.synth=soft
[Service]
Type=oneshot
TTYPath=/dev/tty13
ExecStartPre=/usr/bin/chvt 13
ExecStart=/usr/local/bin/talk-to-me
ExecStartPost=/usr/bin/chvt 1
StandardInput=tty
TTYVHangup=yes
TTYVTDisallocate=yes
RemainAfterExit=true
[Install]
WantedBy=default.target
RequiredBy=getty@tty1.service
/usr/lib/systemd/system/brltty.service
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment