We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c96c8d8 commit 2d5c9c4Copy full SHA for 2d5c9c4
root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run
@@ -184,7 +184,7 @@ else
184
echo "**** No client conf found. Provide your own client conf as \"/config/wg0.conf\" and restart the container. ****"
185
sleep infinity
186
fi
187
- printf %s "${USE_COREDNS:-false}" > /run/s6/container_environment/USE_COREDNS
+ printf %s "${USE_COREDNS,,:-false}" > /run/s6/container_environment/USE_COREDNS
188
189
190
# set up CoreDNS
root/etc/s6-overlay/s6-rc.d/svc-coredns/run
@@ -1,7 +1,7 @@
1
#!/usr/bin/with-contenv bash
2
# shellcheck shell=bash
3
4
-if netstat -apn | grep -q ":53 "; then
+if netstat -apn | grep -q ":53 " && [[ -z "${USE_COREDNS}" ]]; then
5
USE_COREDNS="false"
6
7
0 commit comments