Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
c190402b
Commit
c190402b
authored
Nov 12, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Allow overriding fixed default values with env in ping swarm script.
parent
70c676e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/ping-swarm
View file @
c190402b
...
...
@@ -20,9 +20,9 @@ set -e
# Uncomment if libraries sit along binaries.
#export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
# Uncomment and edit for fixed default values.
#OUI_PROTO=
5
#OUI_INJPK="abcdefghijklmnopqrstuvwxyz234567abcdefghijklmnopqrst"
# Uncomment and edit for fixed default values
(can still override with env)
.
#OUI_PROTO=
"${OUI_PROTO:-5}"
#OUI_INJPK="
${OUI_INJPK:-
abcdefghijklmnopqrstuvwxyz234567abcdefghijklmnopqrst
}
"
v
=
"
$OUI_PROTO
"
pk
=
"
$OUI_INJPK
"
...
...
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