Commit 4aa9b3b6 authored by Andreas Schmidt's avatar Andreas Schmidt

Revert "Remove Wireshark from entrypoint to save disk space."

This reverts commit e0977865
parent 208d504c
Pipeline #2854 passed with stages
in 1 minute and 41 seconds
......@@ -53,6 +53,11 @@ done
PRRT_PARAMS="${PRRT[@]}"
NETEM_PARAMS="${NETEM[@]}"
echo "Starting Wireshark."
tshark -i eth0 -w $OUTPUT.pcap &
TSHARK_PID=$!
sleep 2
start=$(date +%s.%N);
echo "Checking reachability of $TARGET."
until ping -c1 $TARGET &>/dev/null; do sleep 1; done
......@@ -71,3 +76,5 @@ tc qdisc add dev $dev root netem $NETEM_PARAMS
dur=$(echo "$(date +%s.%N) - $start" | bc);
printf "Done after %.6f seconds\n" $dur
tc qdisc del dev $dev root
kill $TSHARK_PID
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