tor_multipath_voip/scripts/container/dcall-dup2-client

27 lines
623 B
Plaintext
Raw Normal View History

2020-02-02 16:44:33 +00:00
#!/bin/bash
mkdir -p $3/{log,shared,res}
donar \
-a dup2 \
-c \
-o $3/shared/onion_services.pub \
-l $1 \
2020-02-05 09:29:41 +00:00
-b \
2020-02-05 20:48:00 +00:00
-e 5001 \
2020-02-02 16:44:33 +00:00
-r 5000 \
> $3/log/client-donar-stdout.log 2> $3/log/client-donar-stderr.log &
2020-02-06 22:02:44 +00:00
sleep 1
2020-02-06 22:21:17 +00:00
tail -f $3/log/server-donar-stdout.log | grep -q "=== Our 2 requested circuits are now up ===" \
2020-02-05 20:17:33 +00:00
> $3/log/client-measboot-stdout.log 2> $3/log/client-measboot-stderr.log
2020-02-05 09:29:41 +00:00
2020-02-02 16:44:33 +00:00
dcall \
-t filesrc \
-a file:///assets/i_have_a_dream.mp3 \
-s fakesink \
2020-02-05 20:48:00 +00:00
-c 5001 \
2020-02-02 16:44:33 +00:00
-b 127.0.0.1 \
-l $2 \
-d $3/log/client-dcall-gstreamer.log \
> $3/log/client-dcall-stdout.log 2> $3/log/client-dcall-stderr.log