summaryrefslogtreecommitdiff
path: root/configs/talkingparabola/airootfs/usr/bin
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/talkingparabola/airootfs/usr/bin
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/talkingparabola/airootfs/usr/bin')
-rwxr-xr-xconfigs/talkingparabola/airootfs/usr/bin/livecd-alsa-unmuter12
-rwxr-xr-xconfigs/talkingparabola/airootfs/usr/bin/pick-a-card57
-rwxr-xr-xconfigs/talkingparabola/airootfs/usr/bin/talk-to-me10
3 files changed, 0 insertions, 79 deletions
diff --git a/configs/talkingparabola/airootfs/usr/bin/livecd-alsa-unmuter b/configs/talkingparabola/airootfs/usr/bin/livecd-alsa-unmuter
deleted file mode 100755
index 2a0d814..0000000
--- a/configs/talkingparabola/airootfs/usr/bin/livecd-alsa-unmuter
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
-# Properly initialize the sound card so that we have audio at boot.
-# This script is released under the GNU General Public License.
-
-# shellcheck disable=SC1091
-source /usr/share/livecd-sound/functions
-
-preinit_levels all
-sanify_levels all
diff --git a/configs/talkingparabola/airootfs/usr/bin/pick-a-card b/configs/talkingparabola/airootfs/usr/bin/pick-a-card
deleted file mode 100755
index 10f2f79..0000000
--- a/configs/talkingparabola/airootfs/usr/bin/pick-a-card
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
-# If there are multiple usable sound cards, prompt the user to choose one,
-# using auditory feedback.
-# This script is released under the GNU General Public License.
-
-# shellcheck disable=SC1091
-source /usr/share/livecd-sound/functions
-
-nwords() {
- echo $#
-}
-
-is_numeric() {
- local str=$1
- expr "$str" : '[[:digit:]]\+$' > /dev/null 2>&1
-}
-
-set_default_card() {
- local card=$1
- sed -e "s/%card%/$card/g" < /usr/share/livecd-sound/asound.conf.in \
- > /etc/asound.conf
-}
-
-play_on_card() {
- local card=$1 file=$2
- aplay "-Dplughw:$card,0" "$file"
-}
-
-set -f
-usable_cards="$(list_non_pcsp_cards)"
-num_usable_cards=$(nwords "$usable_cards")
-
-if [ "$num_usable_cards" -eq 1 ]; then
- exit 0
-fi
-
-for card in $usable_cards; do
- if ! is_numeric "$card"; then
- continue
- fi
- play_on_card "$card" /usr/share/livecd-sound/sounds/pick-a-card.wav&
-done
-wait
-sleep 1
-for card in $usable_cards; do
- if ! is_numeric "$card"; then
- continue
- fi
- play_on_card "$card" /usr/share/livecd-sound/sounds/beep.wav
- if read -rt 10; then
- set_default_card "$card"
- break
- fi
-done
diff --git a/configs/talkingparabola/airootfs/usr/bin/talk-to-me b/configs/talkingparabola/airootfs/usr/bin/talk-to-me
deleted file mode 100755
index 73998d8..0000000
--- a/configs/talkingparabola/airootfs/usr/bin/talk-to-me
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-started_flag=/run/speech-is-running
-if [ -f $started_flag ]; then
- exit 0
-fi
-systemctl stop espeakup
-sleep 5
-pick-a-card
-systemctl start espeakup
-touch $started_flag