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 0e7cf2c commit e8e32eaCopy full SHA for e8e32ea
1 file changed
root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run
@@ -183,6 +183,10 @@ if [[ -n "$PEERS" ]]; then
183
echo "**** No changes to parameters. Existing configs are used. ****"
184
fi
185
186
+
187
+ # Fix openresolv bug - Upstream fix in v3.17.3
188
+ resolvconf -a control 2>/dev/null < /etc/resolv.conf
189
+ resolvconf -u
190
else
191
echo "**** Client mode selected. ****"
192
USE_COREDNS="${USE_COREDNS,,}"
@@ -194,10 +198,6 @@ if [[ ! -f /config/coredns/Corefile ]]; then
194
198
cp /defaults/Corefile /config/coredns/Corefile
195
199
196
200
197
-# Fix openresolv bug - Upstream fix in v3.17.3
-resolvconf -a control 2>/dev/null < /etc/resolv.conf
-resolvconf -u
-
201
# permissions
202
lsiown -R abc:abc \
203
/config
0 commit comments