From 22f7fde1527a6dd199efb6c75da699a568558959 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Mon, 15 Apr 2024 17:40:44 +0100 Subject: [PATCH] Fix case --- root/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/docker-entrypoint.sh b/root/docker-entrypoint.sh index fc8897b..27df897 100755 --- a/root/docker-entrypoint.sh +++ b/root/docker-entrypoint.sh @@ -1,8 +1,8 @@ #!/bin/bash -if [[ $POST == 1 ]] && [[ $DISABLE_IPv6 == 1 ]]; then +if [[ $POST == 1 ]] && [[ $DISABLE_IPV6 == 1 ]]; then envsubst "$(printf '${%s} ' $(bash -c "compgen -A variable"))" < /templates/default_post_ipv4.template > /run/default.conf -elif [[ $POST == 0 ]] && [[ $DISABLE_IPv6 == 1 ]]; then +elif [[ $POST == 0 ]] && [[ $DISABLE_IPV6 == 1 ]]; then envsubst "$(printf '${%s} ' $(bash -c "compgen -A variable"))" < /templates/default_nopost_ipv4.template > /run/default.conf elif [[ $POST == 1 ]]; then envsubst "$(printf '${%s} ' $(bash -c "compgen -A variable"))" < /templates/default_post.template > /run/default.conf