Update basic-install.sh

Force reloading of relsolved config where available

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
Rob Gill 2018-05-16 07:28:32 +10:00 committed by GitHub
parent a431c829cb
commit c400b914e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1279,7 +1279,7 @@ disable_resolved_stublistener() {
# Make a backup of the original /etc/systemd/resolved.conf
# (This will need to be restored on uninstallation)
sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf
systemctl restart systemd-resolved
systemctl reload-or-restart systemd-resolved
fi
fi
}