Skip to content

Commit

Permalink
Fix coredns env logic
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Aug 5, 2023
1 parent 76125cd commit 3bcd753
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ else
echo "**** No client conf found. Provide your own client conf as \"/config/wg0.conf\" and restart the container. ****"
sleep infinity
fi
printf %s "${USE_COREDNS,,:-false}" > /run/s6/container_environment/USE_COREDNS
USE_COREDNS="${USE_COREDNS,,}"
printf %s "${USE_COREDNS:-false}" > /run/s6/container_environment/USE_COREDNS
fi

# set up CoreDNS
Expand Down

0 comments on commit 3bcd753

Please sign in to comment.