ordered into /lib
put all subscripts into lib for readability
This commit is contained in:
13
lib/speaker.sh
Executable file
13
lib/speaker.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user