15 lines
419 B
Bash
Executable File
15 lines
419 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Oneliner to find script's directory. Please note - last path component should NOT be symlink.
|
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
|
|
|
|
|
|
while :
|
|
do
|
|
# To avoid problems with pulseaudio
|
|
python3 -u $SCRIPT_DIR/src/agent_kill.py
|
|
pkill pulseaudio
|
|
|
|
python3 -u $SCRIPT_DIR/src/agent_gsm.py --config $SCRIPT_DIR/config/agent.yaml
|
|
done
|