Files
csr_setup/lib/speaker.sh
lucas_csr 20781c9d90 ordered into /lib
put all subscripts into lib for readability
2026-07-14 16:56:28 +02:00

13 lines
310 B
Bash
Executable File

#!/bin/bash
function SPEAKER(){
local OUT_FILE=$1
audacious ./stereo_test.mp3 >/dev/null 2>&1 & disown
read -p "Funktioniert Sound? Audacios öffnet sich - (y/n): " answer
if [[ "$answer" == [Yy] ]]; then
echo -e "Speaker:\t Ja" >>"$OUT_FILE"
else
echo -e "Speaker:\t Nein" >>"$OUT_FILE"
fi
}