Commit 934ea26d by Ruben Rodriguez

9.0/trisquel-base-data Default to systemd-resolved

parent 7087e2d8
trisquel-base-data (9.0-4) etiona; urgency=medium
* Default to systemd-resolved
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Wed, 22 Apr 2020 21:24:55 -0400
trisquel-base-data (9.0-3) etiona; urgency=medium
* Updated rules for sbuild
......
......@@ -7,4 +7,12 @@ fi
update-initramfs -u
# Default to systemd-resolved
if [ -L /etc/resolv.conf ] && \
[ "$(readlink /etc/resolv.conf)" != "/run/systemd/resolve/stub-resolv.conf" ] && \
[ -f /run/systemd/resolve/stub-resolv.conf ]; then
mv /etc/resolv.conf /etc/resolv.conf.trisquel.bak
ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
fi
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment