diff --git a/entrypoint.sh b/entrypoint.sh index b76c021..899c424 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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