Reorga of functions

moved all functions into files
Redid RAM to be more useable
This commit is contained in:
2026-07-14 16:45:44 +02:00
parent 9039344de5
commit 925c624351
9 changed files with 230 additions and 217 deletions

View File

@@ -1,13 +1,13 @@
#!/bin/bash
audacious ./stereo_test.mp3 >/dev/null 2>&1 & disown
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
read -p "Funktioniert Sound? Audacios öffnet sich - (y/n): " answer
if [[ "$answer" == [Yy] ]]; then
return 0
elif [[ "$answer" == [Nn] ]]; then
return 1
else
return 1
fi
}