use interfaces from CMD
This commit is contained in:
parent
06f33a3961
commit
0436ebed49
1 changed files with 4 additions and 1 deletions
|
|
@ -6,7 +6,10 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ -n "$INTERFACES" ]; then
|
||||
if [ $# -gt 0 ]; then
|
||||
# Use CLI arguments (from docker run ... or CMD)
|
||||
:
|
||||
elif [ -n "$INTERFACES" ]; then
|
||||
# shellcheck disable=SC2086
|
||||
set -- $INTERFACES
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue