mirror of
https://github.com/ok2cqr/cqrlog.git
synced 2024-09-22 10:57:19 +00:00
8 lines
196 B
Bash
Executable File
8 lines
196 B
Bash
Executable File
#!/bin/bash
|
|
if ! ps aux | grep -q '[m]pg123'
|
|
then
|
|
echo -e '\033a1' | nc -q 1 -u localhost 6789 &
|
|
mpg123 ~/.config/cqrlog/voice_keyer/$1.mp3
|
|
echo -e '\033a0' | nc -q 1 -u localhost 6789 &
|
|
fi
|