Commit aafcbd0b authored by Andreas Schmidt's avatar Andreas Schmidt

Update entrypoint.

parent 61f48296
Pipeline #2644 passed with stages
in 1 minute and 8 seconds
......@@ -56,13 +56,14 @@ NETEM_PARAMS="${NETEM[@]}"
echo "Starting Wireshark."
tshark -i eth0 -w $OUTPUT.pcap &
TSHARK_PID=$!
sleep 5
sleep 2
start=$(date +%s.%N);
echo "Checking reachability of $TARGET."
until ping -c1 $TARGET &>/dev/null; sleep 1; do :; done
until ping -c1 $TARGET &>/dev/null; do sleep 1; done
dur=$(echo "$(date +%s.%N) - $start" | bc);
printf "Reachable after %.6f seconds\n" $dur
sleep 5
traceroute $TARGET > $OUTPUT.tr
echo "Traceroute done."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment