Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
59fbc0d5
Commit
59fbc0d5
authored
Sep 04, 2018
by
Andreas Schmidt
Browse files
Remove netem from entrypoint.
parent
f7a30518
Pipeline
#2974
passed with stages
in 1 minute and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker/entrypoint.sh
View file @
59fbc0d5
...
...
@@ -71,12 +71,12 @@ fi
start
=
$(
date
+%s.%N
)
;
echo
"Running PRRT with command:
\"
$command
$PRRT_PARAMS
\"
and link parameters:
\"
$NETEM_PARAMS
\"
"
tc qdisc add dev
$dev
root netem
$NETEM_PARAMS
#
tc qdisc add dev $dev root netem $NETEM_PARAMS
LOG
=
`
/prrt/
$command
$PRRT_PARAMS
2>&1
`
printf
"
$LOG
\n
"
echo
"Exit status:
$?
"
dur
=
$(
echo
"
$(
date
+%s.%N
)
-
$start
"
| bc
)
;
printf
"Done after %.6f seconds
\n
"
$dur
tc qdisc del dev
$dev
root
#
tc qdisc del dev $dev root
kill
$TSHARK_PID
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment