Commit e9783e55 by Ruben Rodriguez

trisquel-base-data: Wait for systemd-resolved to be available

parent b1c7d8b7
trisquel-base-data (9.0-5) etiona; urgency=medium
* Wait for systemd-resolved to be available
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Sun, 19 Jul 2020 21:46:41 -0400
trisquel-base-data (9.0-4) etiona; urgency=medium
* Default to systemd-resolved
......
......@@ -8,6 +8,7 @@ Standards-Version: 3.5.9.0
Package: trisquel-base-data
Architecture: all
Priority: important
Depends: systemd (>= 237-3ubuntu10)
Description: Trisquel base metapackage - data files.
Virtual package providing a dependency list for Trisquel base installation.
Provides a console basic environment.
......
......@@ -8,6 +8,10 @@ fi
update-initramfs -u
# Default to systemd-resolved
systemctl enable systemd-resolved
systemctl start 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
......
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