diff options
| -rwxr-xr-x | launch-all-encoders.sh | 5 | ||||
| -rwxr-xr-x | radio.sh | 3 | 
2 files changed, 5 insertions, 3 deletions
| diff --git a/launch-all-encoders.sh b/launch-all-encoders.sh index 1f7e56d..ec365cf 100755 --- a/launch-all-encoders.sh +++ b/launch-all-encoders.sh @@ -1,6 +1,8 @@  #!/bin/bash  # launch each encoder in its own screen window +set -e +  if [ -f site/configuration.sh ]  then @@ -8,7 +10,8 @@ then      for radio in ${all_radios[*]}      do -        screen -t $radio ./radio $radio +        echo "Launching $radio encoder" +        screen -t $radio ./radio.sh $radio          sleep 0.4      done @@ -2,8 +2,7 @@  #  # Start the encoder for the radio -# Declare radios to be an associative array -declare -A radios +set -e  source site/configuration.sh | 
