From 9525224ac5f026ed2610902970cfc493ecdcc29a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 8 Aug 2014 15:27:24 +0200 Subject: Add scripts and example site --- launch-all-encoders.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 launch-all-encoders.sh (limited to 'launch-all-encoders.sh') 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 + -- cgit v1.2.3