aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlaunch-all-encoders.sh5
-rwxr-xr-xradio.sh3
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
diff --git a/radio.sh b/radio.sh
index d475ce4..b39eb39 100755
--- a/radio.sh
+++ b/radio.sh
@@ -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