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
cb0317e0
Commit
cb0317e0
authored
Nov 06, 2017
by
Andreas Schmidt
Browse files
Fix entrypoint.sh command check.
parent
1334ec13
Pipeline
#1530
failed with stages
in 1 minute and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
entrypoint.sh
View file @
cb0317e0
...
...
@@ -5,9 +5,10 @@ dev=eth0
command
=
$1
shift
if
[[
$command
-eq
"sender"
]]
;
then
if
[[
"
$command
"
==
"sender"
]]
;
then
echo
"FOO"
params
=
$1
;
shift
# Add Host
elif
[[
$command
-eq
"receiver"
]]
;
then
elif
[[
"
$command
"
==
"receiver"
]]
;
then
:
else
echo
"Command should be either sender or receiver."
...
...
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