Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-07-17 18:29:43 +0300
committerTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-07-17 18:29:43 +0300
commit23fa33b63814681154ee377b17f58f4bf0d677d4 (patch)
tree7973a55413f37a035bc3053d80a8528e1afd773b /bin
parent0ce9d1175bb3ee4b944c0339c110c5c6f8448ce1 (diff)
dnsmasq.sh: Simplify dnsmasq workaround
Diffstat (limited to 'bin')
-rw-r--r--bin/ncp/NETWORKING/dnsmasq.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ncp/NETWORKING/dnsmasq.sh b/bin/ncp/NETWORKING/dnsmasq.sh
index ced7ae75..d5747b18 100644
--- a/bin/ncp/NETWORKING/dnsmasq.sh
+++ b/bin/ncp/NETWORKING/dnsmasq.sh
@@ -15,7 +15,10 @@ install()
apt-get update
apt-get install --no-install-recommends -y dnsmasq
service dnsmasq stop
- ! is_docker && service systemd-resolved start || true
+ ! is_docker && {
+ service systemd-resolved start || true
+ update-rc.d systemd-resolved enable
+ }
update-rc.d dnsmasq disable || rm /etc/systemd/system/multi-user.target.wants/dnsmasq.service
[[ "$DOCKERBUILD" == 1 ]] && {