Skip to content

Commit 4951f20

Browse files
committed
Fix breaking openresolv change
1 parent 7ad253d commit 4951f20

File tree

1 file changed

+4
-0
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-wireguard-confs

1 file changed

+4
-0
lines changed

root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ if [[ ! -f /config/coredns/Corefile ]]; then
194194
cp /defaults/Corefile /config/coredns/Corefile
195195
fi
196196

197+
# Fix openresolv bug - Upstream fix in v3.17.3
198+
resolvconf -a control 2>/dev/null < /etc/resolv.conf
199+
resolvconf -u
200+
197201
# permissions
198202
lsiown -R abc:abc \
199203
/config

0 commit comments

Comments
 (0)