blob: d9da5306773ba4d290245b957858c845c7f60d83 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 | #!/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 "Audio Encoder $radio" ./radio.sh "$radio"
        sleep 0.4
    done
    for mot in ${all_mot[*]}
    do
        echo "Launching $mot mot-encoder"
        screen -t "MOT Encoder $mot" ./mot.sh "$mot"
	sleep 0.4
    done
else
    echo "Error: No site configuration available!"
    exit 1
fi
 |