aboutsummaryrefslogtreecommitdiffstats
path: root/launch-all-encoders.sh
diff options
context:
space:
mode:
Diffstat (limited to 'launch-all-encoders.sh')
-rwxr-xr-xlaunch-all-encoders.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/launch-all-encoders.sh b/launch-all-encoders.sh
new file mode 100755
index 0000000..1f7e56d
--- /dev/null
+++ b/launch-all-encoders.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+# launch each encoder in its own screen window
+
+if [ -f site/configuration.sh ]
+then
+
+ source site/configuration.sh
+
+ for radio in ${all_radios[*]}
+ do
+ screen -t $radio ./radio $radio
+ sleep 0.4
+ done
+
+else
+ echo "Error: No site configuration available!"
+ exit 1
+fi
+