tor_multipath_voip/scripts/container/sync_barrier_donar
2020-02-05 21:12:44 +01:00

8 lines
250 B
Bash
Executable file

#!/bin/bash
sleep 1
echo "sync_barrier_start"
nc -v --udp --source 127.0.0.1 --source-port 5000 127.13.3.7 5000 --sh-exec '(while true; do sleep 1; echo a; done) & B=$!; read r; kill $B'
echo "sync_barrier_release"
sleep 10
echo "sync_barrier_done"