aboutsummaryrefslogtreecommitdiffstats
path: root/launch-all-encoders.sh
blob: e4ca3dbf008c03dd3ac705573e8014dece635dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# launch each encoder in its own screen window

set -e

if [ -f site/configuration.sh ]
then

    source site/configuration.sh

    for radio in ${all_radios[*]}
    do
        echo "Launching $radio encoder"
        screen -t "$radio" ./radio.sh "$radio"
        sleep 0.4
    done

else
    echo "Error: No site configuration available!"
    exit 1
fi