diff --git a/scripts/update-systemd-from-27-to-238.sh b/scripts/update-systemd-from-27-to-238.sh index 33bfc7545..2302ae14a 100755 --- a/scripts/update-systemd-from-27-to-238.sh +++ b/scripts/update-systemd-from-27-to-238.sh @@ -29,10 +29,13 @@ sed -i 's/required pam_systemd.so create-session=1 kill-user=0 kill-sessio echo "You can migrate to system-networkd." systemctl stop ntp +systemctl stop unbound systemctl disable ntp +systemctl disable unbound systemctl daemon-reload bee remove ntp-4.2.8p8-0.x86_64 +ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf mkdir -p /etc/systemd/resolved.conf.d/ echo -e "[Resolve]\\nDomains=molgen.mpg.de" >> /etc/systemd/resolved.conf.d/domains.conf echo -e "[Resolve]\\nLLMNR=no" >> /etc/systemd/resolved.conf.d/disable-llmnr.conf