diff options
| author | Nick Piggott <nick+work@piggott.eu> | 2015-08-28 17:12:17 +0100 | 
|---|---|---|
| committer | Nick Piggott <nick+work@piggott.eu> | 2015-08-28 17:12:17 +0100 | 
| commit | 79a58e5b66c76044ed083265c90b853cb4924da8 (patch) | |
| tree | f1a4e1ab6a5476baf6131a5208674c87031f9529 /launch-all-encoders.sh | |
| parent | 358774ca2aaef07f8282a00ca672e6fc62068e3c (diff) | |
| download | dab-scripts-79a58e5b66c76044ed083265c90b853cb4924da8.tar.gz dab-scripts-79a58e5b66c76044ed083265c90b853cb4924da8.tar.bz2 dab-scripts-79a58e5b66c76044ed083265c90b853cb4924da8.zip | |
Add Support to start MOT Encoder
Some changes to the configuration.sh file and encoder launchers to start
mot-encoders for services using toolame.
Diffstat (limited to 'launch-all-encoders.sh')
| -rwxr-xr-x | launch-all-encoders.sh | 12 | 
1 files changed, 9 insertions, 3 deletions
| diff --git a/launch-all-encoders.sh b/launch-all-encoders.sh index e4ca3db..699fe4f 100755 --- a/launch-all-encoders.sh +++ b/launch-all-encoders.sh @@ -3,18 +3,24 @@  set -e -if [ -f site/configuration.sh ] +if [ -f ./configuration.sh ]  then -    source site/configuration.sh +    source ./configuration.sh      for radio in ${all_radios[*]}      do          echo "Launching $radio encoder" -        screen -t "$radio" ./radio.sh "$radio" +        screen -t "Audio Encoder $radio" ./radio.sh "$radio"          sleep 0.4      done +    for mot in ${all_mot[*]} +    do +        echo "Launching $mot mot-encoder" +        screen -t "MOT Encoder $mot" ./mot.sh "$mot" +	sleep 0.4 +    done  else      echo "Error: No site configuration available!"      exit 1 | 
