dnsmasq.sh: Don't use update-rc.d for systemd-resolved

This commit is contained in:
Tobias K 2022-07-17 19:18:10 +02:00
parent 23fa33b638
commit 99cc9e610c

View File

@ -17,7 +17,7 @@ install()
service dnsmasq stop
! is_docker && {
service systemd-resolved start || true
update-rc.d systemd-resolved enable
systemctl enable systemd-resolved || echo "WARN: systemd-resolved could not be enabled. This might cause networking issues!"
}
update-rc.d dnsmasq disable || rm /etc/systemd/system/multi-user.target.wants/dnsmasq.service