Skip to content

Commit

Permalink
Merge pull request #673 from mariux64/leave-unbound-running-in-system…
Browse files Browse the repository at this point in the history
…d-238-update-script

Leave Unbound running and enabled in systemd 238 update script
  • Loading branch information
donald authored Mar 16, 2018
2 parents 2e6c82e + 4e8e55f commit 62ed475
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/update-systemd-from-27-to-238.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,10 @@ 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
Expand Down

0 comments on commit 62ed475

Please sign in to comment.